< prev index next >

test/langtools/jdk/jshell/CompilerOptionsTest.java

Print this page

        

@@ -38,11 +38,11 @@
 public class CompilerOptionsTest extends KullaTesting {
 
     @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() {
         assertDeclareWarn1("String s = (String)\"hello\";",
                 new ExpectedDiagnostic("compiler.warn.redundant.cast", 11, 26, 11, -1, -1, Diagnostic.Kind.WARNING));
< prev index next >