Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Invoke Dynamic instructions cannot be searched using ASMAPI

Open
#72 0 comments 0 reactions 1 assignee View on GitHub

@Jonathing is already working on this.

Since Mar 2, 2025.

Assessment

This issue has not been assessed yet.

Description

ASMAPI has various helper methods that are meant to make traversing through bytecode easier. Unfortunately while working on CoreMods 5.2, I made an oversight where invoke dynamic expressions cannot be found using any of ASMAPI's findMethodCall methods, even though I have since added the ASMAPI.MethodType.DYNAMIC enum value.

This is not that big of a deal as I can search for invoke dynamic instructions the traditional way using for loops and checking the opcode. But for CoreMods 6.0, whether it will be in JS, Java, or embedded into some other system, this needs to be accounted for. This can probably by making the return value AbstractInsnNode and also accounting for invoke dynamic instructions as they also have a name and descriptor.

Dominant language
Java
Stars
39
Forks
23
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MinecraftForge/coremods

All issues in MinecraftForge/coremods

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.