RFR: 8259267: Refactor LoaderLeak shell test as java test. [v11]

Daniel Fuchs dfuchs at openjdk.java.net
Tue Feb 23 11:10:40 UTC 2021


On Mon, 22 Feb 2021 20:35:19 GMT, Ivan Šipka <isipka at openjdk.org> wrote:

>> Refactor `test/jdk/java/lang/annotation/loaderLeak/LoaderLeak.sh` as java test.
>
> Ivan Šipka has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8166026: Refactor java/lang shell tests to java

changes look good to me - though not strictly necessary, I wonder if you should null out the local variables that hold the class and classloader just after the reachability fence.

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

Marked as reviewed by dfuchs (Reviewer).

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


More information about the core-libs-dev mailing list