test/tools/javac/annotations/neg/WrongValue.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4951298
  * @summary compiler: crashes when attributes with same elements are used in place of other
  * @author gafter
  *
- * @compile/fail -source 1.5 WrongValue.java
+ * @compile/fail WrongValue.java
  */
 
 @interface TestM2 {
     String message() default "MyMessage";
     Class myClass() default Integer.class;