diff -r 9834489579e5 -r 6c6e6e25189d langtools/test/tools/javac/generics/odersky/BadTest4.java --- a/langtools/test/tools/javac/generics/odersky/BadTest4.java Mon Apr 18 14:04:09 2016 -0700 +++ b/langtools/test/tools/javac/generics/odersky/BadTest4.java Mon Apr 18 18:41:38 2016 -0700 @@ -30,7 +30,7 @@ static Cell makeCell(A x) { return new Cell(x); } static A id(A x) { return x; } - static Integer i = new Integer(1); + static Integer i = Integer.valueOf(1); static Number n = i; public static void main(String[] args) {