RFR: 8184603: Create ObjectStreamField signature lazily when possible
Alan.Bateman at oracle.com
Fri Jul 14 13:04:15 UTC 2017
On 14/07/2017 13:47, Claes Redestad wrote:
>> For extra points remove the superfluous null assignment of
>> `signature` and `field` ( as well as `offset` ).
> 'field' is final so that'd make javac cry bloody murder, but I fixed the
> rest and cleaned up a bit for consistency:
The updated version looks okay. I would probably do "signature = sig =
getClassSignature(...)" but it shouldn't make a difference.
More information about the core-libs-dev