[jdk17u-dev] RFR: 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing

Richard Reingruber rrich at openjdk.org
Wed Mar 19 12:50:16 UTC 2025


On Tue, 18 Mar 2025 11:36:24 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.16-oracle.
> 
> Clean backport, but I had to adapt one test.
> The IR Framework in 17 does not support the needed features:
> 
> 
> ----------System.err:(34/2067)----------
> Compilation failed.
> Exit code: 1
> Output: '/net/sapmnt.sapjvm_work/d045726/tmp/jtreg-clx209-17/scratch/./compile-framework-sources-9942959654077088267/X1.java:11: error: cannot find symbol
>     @IR(counts = {IRNode.LOAD_VECTOR_F, "> 0"},
>                         ^
>   symbol:   variable LOAD_VECTOR_F
>   location: class IRNode
> /net/sapmnt.sapjvm_work/d045726/tmp/jtreg-clx209-17/scratch/./compile-framework-sources-9942959654077088267/X1.java:12: error: cannot find symbol
>         applyIfCPUFeatureOr = {"sse2", "true", "asimd", "true"})
>         ^
>   symbol:   method applyIfCPUFeatureOr()
>   location: @interface IR
> 2 errors
> '
> compiler.lib.compile_framework.CompileFrameworkException: Exception in Compile Framework:
> Compilation failed.

Looks good.
Cheers, Richard.

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

Marked as reviewed by rrich (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3377#pullrequestreview-2698298675


More information about the jdk-updates-dev mailing list