<AWT Dev> RFR: 8268113: Re-use Long.hashCode() where possible [v3]
vtewari at openjdk.java.net
Wed Jun 2 18:01:29 UTC 2021
On Wed, 2 Jun 2021 16:37:49 GMT, Сергей Цыпанов <github.com+10835776+stsypanov at openjdk.org> wrote:
>> There is a few JDK classes duplicating the contents of Long.hashCode() for hash code calculation. They should explicitly delegate to Long.hashCode().
> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
> 8268113: Inline local vars where reasonable
src/java.base/share/classes/java/util/BitSet.java line 105:
> 103: * the user knows what he's doing and try harder to preserve it.
> 104: */
> 105: private transient boolean sizeIsSticky = false;
This change is OK, but it is not related to "8268113", do you really wants to do these changes as part of "8268113" ?
More information about the awt-dev