test/jdk/jshell/ToolCommandOptionTest.java

Print this page

        

@@ -86,11 +86,11 @@
                         "|  Conflicting options -- /types -st -al")
         );
     }
 
     public void dropTest() {
-        test(false, new String[]{"-nostartup"},
+        test(false, new String[]{"--no-startup"},
                 (a) -> assertCommand(a, "int x = 5;",
                         "x ==> 5"),
                 (a) -> assertCommand(a, "x",
                         "x ==> 5"),
                 (a) -> assertCommand(a, "long y;",