Thu, 10 Sep 2015 15:24:39 +0200
8135336: Fix broken build after JDK-8135262
Reviewed-by: hannesw, sundar
test/script/trusted/JDK-8006529.js | file | annotate | diff | comparison | revisions |
1.1 --- a/test/script/trusted/JDK-8006529.js Thu Sep 10 14:00:27 2015 +0200 1.2 +++ b/test/script/trusted/JDK-8006529.js Thu Sep 10 15:24:39 2015 +0200 1.3 @@ -120,7 +120,7 @@ 1.4 1.5 var sourceForMethod = Source.class.getMethod("sourceFor", java.lang.String.class, java.lang.String.class) 1.6 var ParserConstructor = Parser.class.getConstructor(ScriptEnvironment.class, Source.class, ErrorManager.class) 1.7 -var CompilerConstructor = Compiler.class.getMethod("createNoInstallerCompiler", Context.class, Source.class, boolean.class); 1.8 +var CompilerConstructor = Compiler.class.getMethod("forNoInstallerCompilation", Context.class, Source.class, boolean.class); 1.9 1.10 // compile(script) -- compiles a script specified as a string with its 1.11 // source code, returns a jdk.nashorn.internal.ir.FunctionNode object