<i18n dev> RFR: 8253240: No javadoc for DecimalFormatSymbols.hashCode()

Roger Riggs rriggs at openjdk.java.net
Wed Sep 16 17:50:05 UTC 2020


On Wed, 16 Sep 2020 17:29:52 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Hi,
> 
> Please review the fix to the issue wrt missing hashCode() javadoc, which was recently discussed in core-libs ml.

Changes requested by rriggs (Reviewer).

src/java.base/share/classes/java/text/DecimalFormatSymbols.java line 1153:

> 1151:      * Cached hash code
> 1152:      */
> 1153:     private volatile int hashCode;

I'm thinking the cached hashcode should be / should have been transient (not serialized).
And add a period at the end of the sentence above.

-------------

PR: https://git.openjdk.java.net/jdk/pull/208


More information about the i18n-dev mailing list