RFR: 8250840: some tests use --enable-preview unnecessarily

Vicente Romero vromero at openjdk.java.net
Tue Sep 8 16:11:45 UTC 2020


On Mon, 7 Sep 2020 07:58:40 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> 8250840: some tests use --enable-preview unnecessarily

just a minor change could be needed, there is no need for another round

test/langtools/tools/javac/ConditionalExpressionResolvePending.java line 38:

> 36:  * @build combo.ComboTestHelper
> 37:  * @compile ConditionalExpressionResolvePending.java
> 38:  * @run main/othervm --enable-preview ConditionalExpressionResolvePending

do you still need the @run main/othervm?

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

Marked as reviewed by vromero (Reviewer).

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


More information about the compiler-dev mailing list