--- old/src/java.base/share/classes/com/sun/java/util/jar/pack/Package.java 2015-04-22 17:43:37.423422421 -0700 +++ new/src/java.base/share/classes/com/sun/java/util/jar/pack/Package.java 2015-04-22 17:43:37.247422417 -0700 @@ -1210,7 +1210,7 @@ // This keeps files of similar format near each other. // Put class files at the end, keeping their fixed order. // Be sure the JAR file's required manifest stays at the front. (4893051) - Collections.sort(files, new Comparator() { + Collections.sort(files, new Comparator<>() { public int compare(File r0, File r1) { // Get the file name. String f0 = r0.nameString;