JDK-8353841 : [jittester] Fix JITTester build after asm removal
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-04-07
  • Updated: 2025-04-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25Unresolved
Related Reports
Causes :  
Description
JDK-8346981 removed jdk.internal.objectweb.asm packages from java.base

This broke JITTester build:

$ make COMPILE
...
src/jdk/test/lib/jittester/visitors/ByteCodeVisitor.java:37: error: package org.objectweb.asm does not exist
import org.objectweb.asm.ClassWriter;
                        ^
src/jdk/test/lib/jittester/visitors/ByteCodeVisitor.java:38: error: package org.objectweb.asm does not exist
import org.objectweb.asm.FieldVisitor;
                        ^
src/jdk/test/lib/jittester/visitors/ByteCodeVisitor.java:39: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Label;
...
100 errors
7 warnings
only showing the first 100 errors, of 323 total; use -Xmaxerrs if you would like to see more
make: *** [Makefile:102: COMPILE] Error 1
Comments
ILW = JITTester does not build anymore because dependency is missing, with JITTester, no workaround = MMH = P3
08-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24487 Date: 2025-04-07 11:24:13 +0000
07-04-2025