test/tools/javac/generics/TyparamLit.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4881265
  * @summary generics: compiler allows T.class for type variable T
  * @author gafter
  *
- * @compile/fail -source 1.5 TyparamLit.java
+ * @compile/fail  TyparamLit.java
  */
 
 class TyparamLit<T> {
     Class x = T.class;
 }