hg: jdk9/dev/jdk: 8087104: DateFormatSymbols triggers this.clone() in the constructor

aleksej.efimov at oracle.com aleksej.efimov at oracle.com
Fri Mar 4 10:23:34 UTC 2016


Changeset: efeef5749c28
Author:    rpatil
Date:      2016-03-02 23:28 +0530
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/efeef5749c28

8087104: DateFormatSymbols triggers this.clone() in the constructor
Summary: Instead of using its own instance for caching and calling clone in DateFormatSymbols, a nested class SymbolsCacheEntry is introduced.
Reviewed-by: okutsu, peytoia

! src/java.base/share/classes/java/text/DateFormatSymbols.java
+ test/java/text/Format/DateFormat/DFSConstructorCloneTest.java



More information about the jdk9-dev-changes mailing list