RFR: 8284490: Remove finalizer method in java.security.jgss [v3]

Weijun Wang weijun at openjdk.java.net
Thu Apr 7 20:03:31 UTC 2022


On Thu, 7 Apr 2022 17:54:35 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> Hmm, the earlier JCE change would also needs to be updated as it calls a cleanup method on the to-be-cleaned object.
>
>> Hmm, the earlier JCE change would also needs to be updated as it calls a cleanup method on the to-be-cleaned object.
> 
> Yes, I will check the cleaner used in the security components and make sure there is object reference problems.

I'm not sure if it's possible to write a test on the cleanup, but at least we can temporarily add a `println` line there and see if it ever gets called.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8136



More information about the security-dev mailing list