On Wed, 15 Jul 2026 17:16:51 GMT, Chen Liang <[email protected]> wrote:

> TestEnableNativeAccessJarManifest has a `@enablePreview` jtreg directive. 
> This test was added in the commit where FFM became a permanent feature, so 
> its omission was likely an oversight.
> 
> Now, this test declares a record, which makes all its class files preview 
> with JEP 401. As a consequence, the command line arguments are no longer 
> sufficient to run the test. We can simply remove `@enablePreview` to clear 
> this butterfly effect.
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 2659bfe3
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2659bfe35598296f9ba1b74b87e9e34c5f229ec7
Stats:     2 lines in 1 file changed: 0 ins; 1 del; 1 mod

8388347: Remove enablePreview from TestEnableNativeAccessJarManifest

Reviewed-by: jpai, jvernee

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

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

Reply via email to