changeset 1419:c62b95b20e60

8135336: Fix broken build after JDK-8135262 Reviewed-by: hannesw, sundar
author attila
date Thu, 10 Sep 2015 15:24:39 +0200
parents e7d479909bc5
children bbe835067b89
files test/script/trusted/JDK-8006529.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/script/trusted/JDK-8006529.js	Thu Sep 10 14:00:27 2015 +0200
+++ b/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