The example using the Cleaner in java.lang.ref.Cleaner class javadoc
does not show a specific cleanup example.
One suggestion is to use details from a specific use of Cleaner that replaces finalization.
does not show a specific cleanup example.
One suggestion is to use details from a specific use of Cleaner that replaces finalization.
- duplicates
-
JDK-8276700 Improve java.lang.ref.Cleaner javadocs
-
- Resolved
-
- relates to
-
JDK-8138696 java.lang.ref.Cleaner - an alternative to finalization
-
- Resolved
-