< prev index next >

langtools/test/tools/javac/CaptureInSubtype.java

Print this page

        

@@ -31,11 +31,11 @@
         SuperOfFlaw<List<?>> m(){return null;}
     }
 
 
     public static class ShowFlaw extends SuperOfShowFlaw {
-        static Flaw<Number> fn =  new Flaw<Number>(new Integer(3));
+        static Flaw<Number> fn =  new Flaw<Number>(Integer.valueOf(3));
 
         Flaw<?> m(){return fn;}
     }
 
     public static void main(String[] args) {
< prev index next >