< prev index next >

test/langtools/tools/javac/diags/examples/VarInTryWithResourcesNotSupportedInSource.java

Print this page

        

@@ -21,12 +21,11 @@
  * questions.
  */
 
 // key: compiler.err.feature.not.supported.in.source.plural
 // key: compiler.misc.feature.var.in.try.with.resources
-// key: compiler.warn.source.no.bootclasspath
-// options: -source 8
+// options: -source 8 -Xlint:-options
 
 class VarInTryWithResourcesNotSupportedInSource {
     void m() {
         AutoCloseable ac = new CloseableImpl();
 
< prev index next >