diff --git a/nashorn/test/script/nosecurity/jjs-option-fx.js b/nashorn/test/script/nosecurity/jjs-option-fx.js index 3a5c44cfefb..e99e9e0b225 100644 --- a/nashorn/test/script/nosecurity/jjs-option-fx.js +++ b/nashorn/test/script/nosecurity/jjs-option-fx.js @@ -35,7 +35,7 @@ load(__DIR__ + "jjs-common.js") -var msg_flag = "print(typeof($STAGE));"; +var msg_flag = "print(typeof($STAGE)); exit();"; // flag test expected output variables var e_outn = "undefined"