RFR: 8259267: Refactor LoaderLeak shell test as java test. [v5]
Ivan Šipka
isipka at openjdk.java.net
Fri Feb 19 18:34:55 UTC 2021
On Tue, 9 Feb 2021 22:09:33 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
>> Ivan Šipka has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
>>
>> - 8166026: Refactor java/lang shell tests to java
>> - 8166026: Refactor java/lang shell tests to java
>> - 8166026: Refactor java/lang shell tests to java
>> - 8166026: Refactor java/lang shell tests to java
>
> test/jdk/java/lang/annotation/LoaderLeakTest.java line 78:
>
>> 76: // URL classes = new URL("file://" + System.getProperty("user.dir") + "/classes");
>> 77: // URL[] path = { classes };
>> 78: // URLClassLoader loader = new URLClassLoader(path);
>
> please remove the commented out lines (L76-78)
That indentation is intended to make the code more readable, at least I find it so. Changed now to more "traditional style".
-------------
PR: https://git.openjdk.java.net/jdk/pull/1577
More information about the core-libs-dev
mailing list