On Wed, 15 Jul 2026 18:10:25 GMT, Chen Liang <[email protected]> wrote:

> ... This test tries to invoke this main class without `--enable-preview` to 
> the Java launcher, causing this test to fail.

Thank you. So this is about the command line arguments that the test code uses 
to launch a `java` program and isn't about the command line arugments that 
jtreg constructs when launching these test actions.

The remaining `@enablePreview` jtreg tag in this test seems to be a leftover 
from a previous effort to clean up this test of `--enable-preview` usage 
through https://bugs.openjdk.org/browse/JDK-8345164.

The change in this PR looks good to me.

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

PR Comment: https://git.openjdk.org/jdk/pull/31916#issuecomment-4983956910

Reply via email to