< prev index next >

test/script/nosecurity/jjs-option-scripting.js

Print this page

        

@@ -23,11 +23,10 @@
 
 /**
  * JDK-8144113: Nashorn: enable jjs testing. 
  * @test
  * @option -scripting
- * @runif os.not.windows

  * @run
  * @summary Test -scripting flag and its basic functionality
  */
 
 load(__DIR__ + "jjs-common.js")

@@ -38,11 +37,11 @@
 // code to check basic functionality
 var msg_func = <<'EOD'
 var x = "Nashorn"
 var hello = "Hello ${x}"
 if (hello != "Hello Nashorn") {
-    throw new Error("string interploation not working");

+    throw new Error("string interploation not working")

 }
 EOD
 
 // flag test expected output variables
 var e_outn = 'ReferenceErrorr: "$OPTIONS" is not defined'
< prev index next >