-
Bug
-
Resolution: Fixed
-
P4
-
None
ForkJoinPool.getAndAddPoolIds passes ForkJoinPool.class to Unsafe.getAndAddInt to write a static field of ForkJoinPool. This assumes that static fields are stored in Class objects, which is the case on HotSpot, but according to the documentation on Unsafe.getAndAddInt, the object returned by Unsafe.staticFieldBase should be called.
- relates to
-
JDK-8297757 VarHandles.getStaticFieldFromBaseAndOffset should get the receiver type from VarHandle
-
- Resolved
-