test/tools/javac/lint/Unchecked.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4821359
  * @summary Add -Xlint flag
  * @author gafter
  *
- * @compile/fail -source 1.5 -Xlint:unchecked -Werror Unchecked.java
+ * @compile/fail -Xlint:unchecked -Werror Unchecked.java
  */
 
 class Unchecked<T> {
     void f(Unchecked u) {
         Unchecked<String> us = u;