--- a/test/langtools/jdk/jshell/ToolSimpleTest.java Wed Dec 13 12:43:38 2017 +0530
+++ b/test/langtools/jdk/jshell/ToolSimpleTest.java Wed Dec 13 11:27:28 2017 +0100
@@ -216,7 +216,9 @@
public void testInvalidClassPath() {
test(
a -> assertCommand(a, "/env --class-path snurgefusal",
- "| File 'snurgefusal' for '--class-path' is not found.")
+ "| File 'snurgefusal' for '--class-path' is not found."),
+ a -> assertCommand(a, "/env --class-path ?",
+ "| File '?' for '--class-path' is not found.")
);
}