test/tools/javac/generics/WrongNew.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4487977
  * @summary generics: javac generares "new" of wrong class
  * @author gafter
  *
- * @compile -source 1.5 WrongNew.java
+ * @compile  WrongNew.java
  * @run main WrongNew
  */
 
 class WrongNewList<T> {}
 class WrongNewArrayList<T> extends WrongNewList<T> {}