--- old/test/script/nosecurity/jjs-option-cp.js 2016-03-18 17:08:36.370165052 +0530 +++ new/test/script/nosecurity/jjs-option-cp.js 2016-03-18 17:08:36.230165052 +0530 @@ -25,37 +25,44 @@ * JDK-8144113: Nashorn: enable jjs testing. * @test * @option -scripting - * @runif os.not.windows * @run * @summary Test to check if -cp flag and its basic functionality */ load(__DIR__ + "jjs-common.js") -var hello = __DIR__ + "Hello.class"; -var helloj = __DIR__ + "Hello.java"; +var hello = __DIR__ + "Hello.class" +var helloj = __DIR__ + "Hello.java" + +hello = toShellPath(hello) +helloj = toShellPath(helloj) // code to check -flag var msg_flag = "print($OPTIONS._classpath)" // code to check basic functionality var msg_func = <