RFR: 8353214: Add testing with --enable-preview

Chen Liang liach at openjdk.org
Thu Apr 17 05:08:44 UTC 2025


On Thu, 17 Apr 2025 00:24:50 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Added problemlists and and requires for execution tests with --enable-preview.
> 
> The --enable-preview features might significantly change VM/JDK behavior and sometimes it is useful to run tests with preview features enabled. Eventually preview features should be made default and it is expected that all tests should still work. 
> 
> The tests that are not compatible with --enable-preview, usually because of compilation mode are marked with corresponding requires tag.

Just curious, which tiers have you run with forced `--enable-preview` and discovered such incompatible tests?

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

PR Comment: https://git.openjdk.org/jdk/pull/24706#issuecomment-2811755132


More information about the core-libs-dev mailing list