--- old/modules/fxml/src/test/java/test/javafx/fxml/FXMLLoader_ScriptTest.java 2016-06-03 22:22:28.307310047 -0700 +++ new/modules/fxml/src/test/java/test/javafx/fxml/FXMLLoader_ScriptTest.java 2016-06-03 22:22:28.127310049 -0700 @@ -24,6 +24,7 @@ * questions. */ +import com.sun.javafx.fxml.FXMLLoaderHelper; import org.junit.Test; import java.io.IOException; @@ -38,7 +39,7 @@ @SuppressWarnings("deprecation") public void testStaticScriptLoad() throws IOException { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("static_script_load.fxml")); - fxmlLoader.impl_setStaticLoad(true); + FXMLLoaderHelper.setStaticLoad(fxmlLoader, true); AtomicBoolean scriptCalled = new AtomicBoolean(); AtomicBoolean scriptEndCalled = new AtomicBoolean(); fxmlLoader.setLoadListener(new LoadListener() {