[jdk17] Withdrawn: 8269656: The test test/langtools/tools/javac/versions/Versions.java has duplicate test cycles
Thejasvi Voniadka
tvoniadka at openjdk.java.net
Wed Jun 30 10:15:04 UTC 2021
On Wed, 30 Jun 2021 08:23:02 GMT, Thejasvi Voniadka <tvoniadka at openjdk.org> wrote:
> The test "test test/langtools/tools/javac/versions/Versions.java" duplicates some operations, while missing some others.
>
> From the execution log:
>
> ...
> test: check_source_target 52.0 8 8
> ...
> test: check_source_target 52.0 8 8
> ...
> test: check_source_target 53.0 9 9
> ...
> test: check_source_target 53.0 9 9
> ...
>
>
> We can notice the duplicates. Also some combinations are missed out. For example, "check -source 7 -target 8" is an expected combination in the output, but it is missed.
>
> I have updated the index boundaries of the inner for-loop to address this discrepancy.
>
> In addition, the test code contains an unreachable block of code, that causes the combination "most recent target" without a "-source" specifier to be missed out. I have updated the corresponding "if" condition too.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/179
More information about the compiler-dev
mailing list