--- old/src/share/classes/java/lang/CharacterName.java 2010-12-15 14:40:22.243833114 -0800 +++ new/src/share/classes/java/lang/CharacterName.java 2010-12-15 14:40:22.019290252 -0800 @@ -81,7 +81,7 @@ } while (cpOff < cpEnd); strPool = new byte[total - cpEnd]; dis.readFully(strPool); - refStrPool = new SoftReference(strPool); + refStrPool = new SoftReference<>(strPool); } catch (Exception x) { throw new InternalError(x.getMessage()); } finally {