[jdk24] Integrated: 8334733: Remove obsolete @enablePreview from tests after JDK-8334714

2024-12-09 Thread Chen Liang
On Fri, 6 Dec 2024 15:11:20 GMT, Chen Liang wrote: > Hi all, > > This pull request contains a backport of commit > [49664195](https://github.com/openjdk/jdk/commit/496641955041c5e48359e6256a4a61812653d900) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. > > This is a test-on

Integrated: 8334733: Remove obsolete @enablePreview from tests after JDK-8334714

2024-12-06 Thread Chen Liang
On Wed, 27 Nov 2024 23:10:15 GMT, Chen Liang wrote: > Remove the redundant `@enablePreview` and `--enable-preview` flags for > enabling ClassFile API in the tests. The remainder of these flags in all > tests seem to serve preview APIs (such as ScopedValue) or language features > (primitive pa