JDK-8353214 : Add testing with --enable-preview
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-28
  • Updated: 2025-09-03
  • Resolved: 2025-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b20Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The
--enable-preview features are going to be used by default and should be tested before this. So bugs are can be find earlier.

The tests that are not compatible with preview mode are excluded with corresponding requires tag.

Such testing in CI also helps to test sandox preview project like valhalla.
Comments
Changeset: 2ec61f0f Branch: master Author: Leonid Mesnik <lmesnik@openjdk.org> Date: 2025-04-23 16:13:23 +0000 URL: https://git.openjdk.org/jdk/commit/2ec61f0f34d2fa313ae3ed5d6aa0881ec091b347
23-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24706 Date: 2025-04-17 00:24:50 +0000
17-04-2025