Integrated: 8352020: [CompileFramework] enable compilation for VectorAPI
Emanuel Peter
epeter at openjdk.org
Thu Mar 20 06:16:19 UTC 2025
On Mon, 17 Mar 2025 15:53:17 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 3ed010ab
Author: Emanuel Peter <epeter at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3ed010ab7cf5b8c9bf8fa000e88ea95285351982
Stats: 105 lines in 3 files changed: 99 ins; 0 del; 6 mod
8352020: [CompileFramework] enable compilation for VectorAPI
Reviewed-by: chagedorn, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/24082
More information about the hotspot-compiler-dev
mailing list