Skip to content

Suport for ldc MethodType and ldc Dynamic is missing #88

@Maccimo

Description

@Maccimo

Method RawInstListBuilder::buildLdcInsnNode() is missing support for ldc with constant pool entries of type CONSTANT_MethodType or CONSTANT_Dynamic as an argument.
An attempt to load class file with above mentioned instructions will fail with "Unknown LDC constant" exception.

The following gist can be used as a reproducer: https://gist.github.com/Maccimo/b760180649ec645827a058745d95b749
It contains both compiled class and asmtools jasm source for class file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions