RFR: 8065172: More core reflection final and volatile annotations
martinrb at google.com
Wed Nov 19 20:30:54 UTC 2014
On Tue, Nov 18, 2014 at 11:36 PM, Stanimir Simeonoff
<stanimir at riflexo.com> wrote:
> Signature hashCode (the static class in MethodUtil) should be eagerly
> calculated (i.e. a final field too) since the only usage is being a key in
> the hashmap.
> I will add bit more later.
Thanks, Stanimir. That's a good point. (I was making all these
changes with mostly local reasoning)
Signature.hashCode is now final and has much simpler init code.
More information about the core-libs-dev