Review Request CR#7118743 : Alternative Hashing for String with Hash-based Maps [private fields]

Jeff Hain jeffhain at rocketmail.com
Fri May 25 20:30:55 UTC 2012


Hello.

>In HashMap, the class Holder should not declare the static final fields
>'private' because the compiler will generate an accessor in that case,

I wasn't aware that making fields private could have a downside
(other than making them non-visible).

Could you, or anyone, please give (a link to) more info about this?


Thanks.

-Jeff



More information about the core-libs-dev mailing list