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

Goetz Lindenmaier goetz at openjdk.org
Tue Mar 18 11:42:32 UTC 2025


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.

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

Commit messages:
 - Fix test
 - Backport e654a536dcb2b2b3784893d7aa6f5137223d8735

Changes: https://git.openjdk.org/jdk17u-dev/pull/3377/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3377&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337221
  Stats: 1611 lines in 19 files changed: 1611 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3377.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3377/head:pull/3377

PR: https://git.openjdk.org/jdk17u-dev/pull/3377


More information about the jdk-updates-dev mailing list