test/jdk/jshell/ToolCommandOptionTest.java
Print this page
*** 86,96 ****
"| Conflicting options -- /types -st -al")
);
}
public void dropTest() {
! test(false, new String[]{"-nostartup"},
(a) -> assertCommand(a, "int x = 5;",
"x ==> 5"),
(a) -> assertCommand(a, "x",
"x ==> 5"),
(a) -> assertCommand(a, "long y;",
--- 86,96 ----
"| Conflicting options -- /types -st -al")
);
}
public void dropTest() {
! 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;",