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

Brent Christian bchristi at openjdk.java.net
Mon May 2 22:38:26 UTC 2022


On Mon, 2 May 2022 15:27:39 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> Please review the update to remove finalizer method in the java.security.jgss module. It is one of the efforts to clean up the use of finalizer method in JDK.
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add intermittent test keyword

Hi. Sorry, I should have brought this up earlier, but there is a jtreg test library to help with ensuring the GC runs, 
`test/lib/jdk/test/lib/util/ForceGC.java`. You might consider replacing the test code that runs/checks the GC with `ForceGC.await()`.

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

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



More information about the security-dev mailing list