8135336: Fix broken build after JDK-8135262
authorattila
Thu, 10 Sep 2015 15:24:39 +0200
changeset 32531 de72522f2bc4
parent 32530 20aa15248117
child 32532 39810f7cc2e8
8135336: Fix broken build after JDK-8135262 Reviewed-by: hannesw, sundar
nashorn/test/script/trusted/JDK-8006529.js
--- a/nashorn/test/script/trusted/JDK-8006529.js	Thu Sep 10 14:00:27 2015 +0200
+++ b/nashorn/test/script/trusted/JDK-8006529.js	Thu Sep 10 15:24:39 2015 +0200
@@ -120,7 +120,7 @@
 
 var sourceForMethod = Source.class.getMethod("sourceFor", java.lang.String.class, java.lang.String.class)
 var ParserConstructor = Parser.class.getConstructor(ScriptEnvironment.class, Source.class, ErrorManager.class)
-var CompilerConstructor = Compiler.class.getMethod("createNoInstallerCompiler", Context.class, Source.class, boolean.class);
+var CompilerConstructor = Compiler.class.getMethod("forNoInstallerCompilation", Context.class, Source.class, boolean.class);
 
 // compile(script) -- compiles a script specified as a string with its
 // source code, returns a jdk.nashorn.internal.ir.FunctionNode object