modules/fxml/src/main/java/javafx/fxml/FXMLLoader.java

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

@@ -75,19 +75,17 @@
 import javax.xml.stream.XMLStreamReader;
 import javax.xml.stream.util.StreamReaderDelegate;
 
 import com.sun.javafx.beans.IDProperty;
 import com.sun.javafx.fxml.BeanAdapter;
-import com.sun.javafx.fxml.LoadListener;
 import com.sun.javafx.fxml.ParseTraceElement;
 import com.sun.javafx.fxml.PropertyNotFoundException;
 import com.sun.javafx.fxml.expression.Expression;
 import com.sun.javafx.fxml.expression.ExpressionValue;
 import com.sun.javafx.fxml.expression.KeyPath;
 import java.net.MalformedURLException;
 import java.security.AccessController;
-import java.security.AllPermission;
 import java.security.PrivilegedAction;
 import java.util.EnumMap;
 import java.util.Locale;
 import java.util.StringTokenizer;
 import sun.reflect.CallerSensitive;

@@ -2374,28 +2372,22 @@
         this.staticLoad = staticLoad;
     }
 
     /**
      * Returns this loader's load listener.
-     *
-     * @treatAsPrivate
-     * @deprecated
      */
-    public LoadListener impl_getLoadListener() {
+    public LoadListener getLoadListener() {
         // SB-dependency: RT-21228 has been filed to track this
         return loadListener;
     }
 
     /**
      * Sets this loader's load listener.
      *
      * @param loadListener
-     *
-     * @treatAsPrivate
-     * @deprecated
      */
-    public void impl_setLoadListener(LoadListener loadListener) {
+    public final void setLoadListener(LoadListener loadListener) {
         // SB-dependency: RT-21228 has been filed to track this
         this.loadListener = loadListener;
     }
 
     /**