RFR: 8163229: test test/tools/javac/CaptureInSubtype.java has a main method that is never executed Export [v3]

Archie L. Cobbs duke at openjdk.org
Thu Jan 5 21:24:13 UTC 2023


On Thu, 5 Jan 2023 20:02:47 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Archie L. Cobbs has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - Merge branch 'master' into JDK-8163229
>>  - Merge branch 'master' into JDK-8163229
>>  - Rename or remove "main()" methods in tests that never actually run.
>
> test/langtools/tools/javac/limits/ArrayDims2.java line 35:
> 
>> 33:         [][][][][][][][][][]
>> 34:         [][][][][][][][][][]
>> 35:         [][][][][][][][][][]
> 
> given that you are in the neighborhood :), the main method at: ArrayDims3.java can also be removed. Or can be done in another phase, as you please

Sure, no problem... and same thing for `ArrayDims1.java` it looks like.

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

PR: https://git.openjdk.org/jdk/pull/10992


More information about the compiler-dev mailing list