RFR: 8352020: [CompileFramework] enable compilation for VectorAPI [v2]
Emanuel Peter
epeter at openjdk.org
Tue Mar 18 07:06:07 UTC 2025
> During work on [JDK-8344942](https://bugs.openjdk.org/browse/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](https://bugs.openjdk.org/browse/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
>
>
> I added an example test as well.
Emanuel Peter has updated the pull request incrementally with one additional commit since the last revision:
typo
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24082/files
- new: https://git.openjdk.org/jdk/pull/24082/files/3b9eb4ce..fb4cd1c2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24082&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24082&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24082.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24082/head:pull/24082
PR: https://git.openjdk.org/jdk/pull/24082
More information about the hotspot-compiler-dev
mailing list