< prev index next >
test/script/nosecurity/jjs-option-ot.js
Print this page
*** 23,41 ****
/**
* JDK-8144113: Nashorn: enable jjs testing.
* @test
* @option -scripting
- * @runif os.not.windows
* @run
* @summary Test -ot flag
*/
load(__DIR__ + "jjs-common.js")
var args_n = "-scripting -ot=false"
! var msg_flag = "print($OPTIONS._optimistic_types);";
// flag test expected output variables
var e_outp = "true"
var e_outn = "false"
--- 23,40 ----
/**
* JDK-8144113: Nashorn: enable jjs testing.
* @test
* @option -scripting
* @run
* @summary Test -ot flag
*/
load(__DIR__ + "jjs-common.js")
var args_n = "-scripting -ot=false"
! var msg_flag = "print($OPTIONS._optimistic_types)"
// flag test expected output variables
var e_outp = "true"
var e_outn = "false"
< prev index next >