JDK-8352020 : [CompileFramework] enable compilation for VectorAPI
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-03-14
  • Updated: 2025-03-18
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
During work on JDK-8344942 I discovered that it is currently not possible to compile VectorAPI code because it is still in incubator mode and needs flag "--add-modules=jdk.incubator.vector" for "javac".

Also: "javac" can produce warnings, and that leads to issues like this: JDK-8351998. We should allow such warnings, they are not compile failures.

Example:
javac --add-modules=jdk.incubator.vector Test.java
warning: [incubating] using incubating module(s): jdk.incubator.vector
1 warning
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24082 Date: 2025-03-17 15:53:17 +0000
17-03-2025