modules/fxml/src/test/java/javafx/fxml/RT_18218Test.java

Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization

@@ -23,11 +23,10 @@
  * questions.
  */
 
 package javafx.fxml;
 
-import com.sun.javafx.fxml.LoadListener;
 import java.io.IOException;
 import java.util.Map;
 import org.junit.Test;
 
 import static org.junit.Assert.*;

@@ -36,11 +35,11 @@
     @Test
     @SuppressWarnings({"unchecked", "deprecation"})
     public void testStaticScriptLoad() throws IOException {
         FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("rt_18218.fxml"));
         fxmlLoader.impl_setStaticLoad(true);
-        fxmlLoader.impl_setLoadListener(new LoadListener() {
+        fxmlLoader.setLoadListener(new LoadListener() {
             private String unknownStaticPropertyElementName = null;
 
             @Override
             public void readImportProcessingInstruction(String target) {
             }