JDK 19 |
---|
19 b19Fixed |
Relates :
|
|
Relates :
|
The fix for JDK-8284368 replaced the finalizers in jdk.crypto.cryptoki with Cleaners. However, there is a problem with the code changes. The Runnables registered with Cleaner refer to the object being registered ('this'). Meaning, the Cleaner mechanism will keep the objects reachable, preventing them from being cleaned and collected. The JDK-8284368 change needs to be reworked to not reference 'this'.
|