< prev index next >

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

Print this page

        

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

  * @run
  * @summary Test to check -D flag basic functionality
  */
 
 load(__DIR__ + "jjs-common.js")

@@ -36,11 +35,11 @@
 var testfunc_file = path_func.toAbsolutePath()
 
 // code to check basic functionality
 var msg_func = <<EOD
 try {
-    var System = Java.type('java.lang.System');

+    var System = Java.type('java.lang.System')

     print(System.getProperty('user.name'))
     if (System.getProperty('user.name') != "nashorn9")
         throw new Error("un expected system property user.name value")
 } finally {
 }
< prev index next >