On Fri, 5 Nov 2021 10:13:47 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
>> Trivial improvement. >> >> Explicitly show how to create a `Cleaner` instance using `Cleaner.create()`. >> Repeat (again) in the code example that the `State` `Runnable `should be >> implemented as static class and not reference the instance to be cleaned, to >> make the point even more clear to those people who never read the javadoc >> *prose*. >> >> I have signed the OCA a while back as >> [hschreiber](https://openjdk.java.net/census#hschreiber). > > Submitted the RFE for it. Please change the PR title to "8276700: Improve > java.lang.ref.Cleaner javadocs" to let bots hook it up. Thanks, @shipilev . ------------- PR: https://git.openjdk.java.net/jdk/pull/6076