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
- Previous message: race in java.lang.reflect.Field could make UnsafeStaticFieldAccessorImpl#base seen as null
- Next message: race in java.lang.reflect.Field could make UnsafeStaticFieldAccessorImpl#base seen as null
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: race in java.lang.reflect.Field could make UnsafeStaticFieldAccessorImpl#base seen as null
- Next message: race in java.lang.reflect.Field could make UnsafeStaticFieldAccessorImpl#base seen as null
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]