RFR: 8353841: [jittester] Fix JITTester build after asm removal

Chen Liang liach at openjdk.org
Mon Apr 7 22:24:29 UTC 2025


On Mon, 7 Apr 2025 11:24:13 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:

> [JDK-8346981](https://bugs.openjdk.org/browse/JDK-8346981) removed jdk.internal.objectweb.asm packages from java.base, causing JITTester build to fail.
> 
> This PR fixes the build by building ASM prior to the testlibrary and JITTester builds.
> Testing: Local runs of targets `COMPILE` and `all`, no errors found.

test/hotspot/jtreg/testlibrary/jittester/Makefile line 105:

> 103: 
> 104: compile_testlib: INIT
> 105: 	$(JAVAC) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/org.objectweb.asm=ALL-UNNAMED -Xlint $(TESTLIBRARY_SRC_FILES) -d $(CLASSES_DIR)

Suggestion:

	$(JAVAC) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xlint $(TESTLIBRARY_SRC_FILES) -d $(CLASSES_DIR)

As you did so below.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24487#discussion_r2032089849


More information about the hotspot-compiler-dev mailing list