race in java.lang.reflect.Field could make UnsafeStaticFieldAccessorImpl#base seen as null (original) (raw)

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Nov 28 19:10:54 UTC 2012


On 11/28/2012 05:17 PM, Peter Levart wrote:

The fix is simple - transform the field to final - it is only initialized in the constructor.

I agree with this conclusion. UnsafeStaticFieldAccessorImpl.base should be final. Peter, will you be able to prepare the webrev?

-Aleksey.



More information about the core-libs-dev mailing list