--- old/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java 2015-05-27 13:11:50.801836155 +0530 +++ new/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java 2015-05-27 13:11:50.557834940 +0530 @@ -245,7 +245,7 @@ * constitute the command line. * @throws IOException in case {@link StreamTokenizer#nextToken()} raises it. */ - private static List tokenizeCommandLine(final String execString) throws IOException { + public static List tokenizeCommandLine(final String execString) throws IOException { final StreamTokenizer tokenizer = new StreamTokenizer(new StringReader(execString)); tokenizer.resetSyntax(); tokenizer.wordChars(0, 255);