JDK-8328111 : Convert Runtime tests to use the ClassFile API instead of ASM
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Rejected
  • Submitted: 2024-03-13
  • Updated: 2025-05-16
  • Resolved: 2025-05-16
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.
Other
tbdResolved
Related Reports
Relates :  
Description
Test Classes that use the ASM Library:

The goal is to convert the following the tests to use the ClassFile API and remove dependency from ASM:

test/hotspot/jtreg/runtime/finalStatic/FinalStatic.java
test/hotspot/jtreg/runtime/verifier/OverriderMsg.java
test/hotspot/jtreg/runtime/verifier/TestANewArray.java
test/hotspot/jtreg/runtime/verifier/TestMultiANewArray.java
test/hotspot/jtreg/runtime/ConstantPool/BadMethodHandles.java
test/hotspot/jtreg/runtime/ConstantPool/IntfMethod.java
test/hotspot/jtreg/runtime/invokedynamic/BootstrapMethodErrorTest.java
test/hotspot/jtreg/runtime/StackTrace/LargeClassTest.java
Comments
It is not in hotspot interest to spend engineer hours on migrating away from a frozen version of ASM. The other version-sensitive parsing usages will be migrated to ClassFile API in a separate issue.
16-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/18271 Date: 2024-03-13 12:30:24 +0000
09-07-2024

This Issue is completed and needs review for integration.
04-05-2024

Pr link: https://github.com/openjdk/jdk/pull/18271
13-03-2024