Skip to content

[GR-62356] Replace ASM in compiler with ClassFile API #10758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

This PR replaces ASM usage with ClassFile API in Graal unit tests. There are three kind of usages:

  1. static analysis: see jdk.graal.compiler.core.test.OptionsVerifierTest
  2. bytecode manipulation: see jdk.graal.compiler.replacements.test.UnsafeObjectReplacementsTest
  3. class construction: all the rest

CustomizedBytecodePatternTest is now an interface and allows multiple definition in subclass, see jdk.graal.compiler.core.test.ResolveDynamicConstantTest

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 25, 2025
@mur47x111
Copy link
Member

@liach could you please review this PR and see if there is anything that can be improved?

@graalvmbot graalvmbot force-pushed the yz/GR-62356 branch 2 times, most recently from ed854dc to 1d30c13 Compare May 15, 2025 10:42
@graalvmbot graalvmbot changed the title [GR-62356] Replace ASM with ClassFile API [GR-62356] Replace ASM in compiler with ClassFile API May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants