CSR :
|
|
Relates :
|
|
Relates :
|
JDK-8175797 changed Reference.enqueue to clear the reference object before adding it to its associated queue. For backward compatibility, the property jdk.lang.ref.disableClearBeforeEnqueue was introduced to allow reverting to the old behavior. Unfortunately, due to bootstrapping problems, the value of that property is always ignored. The Reference class's initializer attempts to get the property value, but at that point the property mechanism is not yet ready for use. That failure is silently ignored because it occurs in Boolean.getBoolean, which silently swallows the NullPointerExcepion resulting from the too early access. As a result, it is not possible to revert to the old behavior.
|