test/tools/javac/annotations/pos/ClassA.java

Print this page

        

@@ -25,12 +25,12 @@
  * @test
  * @bug 4951298 4975363
  * @summary javac crash loading class files containing Class-valued annotation fields
  * @author gafter
  *
- * @compile -source 1.5 ClassA.java ClassB.java
- * @compile -source 1.5 ClassB.java
+ * @compile ClassA.java ClassB.java
+ * @compile ClassB.java
  */
 
 @interface ClassA {
     Class f() default int.class;
 }