RFR: 8259267: Refactor LoaderLeak shell test as java test. [v8]
Igor Ignatyev
iignatyev at openjdk.java.net
Mon Feb 22 15:40:48 UTC 2021
On Mon, 22 Feb 2021 15:33:30 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
>> Ivan Šipka has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8166026: Refactor java/lang shell tests to java
>
> test/jdk/java/lang/annotation/LoaderLeakTest.java line 68:
>
>> 66: public static void main(String[] args) throws Exception {
>> 67: for (int i=0; i<100; i++)
>> 68: doTest(args.length != 0);
>
> nit: it's usually better to use `{`/`}` even for a one-line loop block.
nit 2: `=` and `<` should be surrounded by a space.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1577
More information about the core-libs-dev
mailing list