--- old/src/java.base/share/classes/sun/security/x509/RDN.java 2015-04-23 15:28:40.632133199 -0700 +++ new/src/java.base/share/classes/sun/security/x509/RDN.java 2015-04-23 15:28:40.288133191 -0700 @@ -102,7 +102,7 @@ int quoteCount = 0; int searchOffset = 0; int avaOffset = 0; - List avaVec = new ArrayList(3); + List avaVec = new ArrayList<>(3); int nextPlus = name.indexOf('+'); while (nextPlus >= 0) { quoteCount += X500Name.countQuotes(name, searchOffset, nextPlus); @@ -182,7 +182,7 @@ } int searchOffset = 0; int avaOffset = 0; - List avaVec = new ArrayList(3); + List avaVec = new ArrayList<>(3); int nextPlus = name.indexOf('+'); while (nextPlus >= 0) { /* @@ -453,7 +453,7 @@ } else { // order the string type AVA's alphabetically, // followed by the oid type AVA's numerically - List avaList = new ArrayList(assertion.length); + List avaList = new ArrayList<>(assertion.length); for (int i = 0; i < assertion.length; i++) { avaList.add(assertion[i]); }