test/tools/javac/generics/wildcards/pos/UncheckedCast1.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4875036
  * @summary generics: failure of some unchecked casts
  * @author gafter
  *
- * @compile -source 1.5 UncheckedCast1.java
+ * @compile  UncheckedCast1.java
  */
 
 class Z {
     <U, T extends U> T g(Object o) {
         return (T) o; // bug???