langtools/test/tools/javac/generics/Nonlinear.java
changeset 37636 6c6e6e25189d
parent 30724 0686b5ea7958
--- a/langtools/test/tools/javac/generics/Nonlinear.java	Mon Apr 18 14:04:09 2016 -0700
+++ b/langtools/test/tools/javac/generics/Nonlinear.java	Mon Apr 18 18:41:38 2016 -0700
@@ -22,7 +22,7 @@
     // the program.
 
     public static void main (String [] args) {
-        Integer x = new Integer (5);
+        Integer x = Integer.valueOf(5);
         String y = castit (x);
         System.out.println (y);
     }