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

Naoto Sato naoto at openjdk.java.net
Wed Sep 16 18:02:48 UTC 2020


On Wed, 16 Sep 2020 17:47:17 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Addressing Roger's comments.
>
> 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.

Good point. Addressed both comments.

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

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


More information about the i18n-dev mailing list