--- old/test/langtools/jdk/jshell/CompilerOptionsTest.java 2018-07-06 13:29:25.079000000 -0700 +++ new/test/langtools/jdk/jshell/CompilerOptionsTest.java 2018-07-06 13:29:24.947000000 -0700 @@ -40,7 +40,7 @@ @BeforeMethod @Override public void setUp() { - setUp(b -> b.compilerOptions("-source", "7", "-Xlint:cast")); + setUp(b -> b.compilerOptions("-source", "7", "-Xlint:cast,-options")); } public void testLint() {