Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: tools
-
Labels:
-
Subcomponent:
Description
https://github.com/openjdk/asmtools/pull/17 introduced the regression in precessing instruction "ldc MethodHandle":
The latest patch fixes `ldc Dynamic` but breaks `ldc MethodHandle`.
Provided *.jasm file is successfully assembled with asmtools built
from the `pull/15` branch but failed to be assembled with asmtools
built from `pull/17` branch.
The error message is as follows:
TestLdcMethodHandle.jasm (17:42) Error: Wrong tag: Either Method or
InterfaceMethod expected.
ldc MethodHandle REF_invokeStatic:Method
TestLdcMethodHandle.main:"([Ljava/lang/String;)V";
^
1 error
The latest patch fixes `ldc Dynamic` but breaks `ldc MethodHandle`.
Provided *.jasm file is successfully assembled with asmtools built
from the `pull/15` branch but failed to be assembled with asmtools
built from `pull/17` branch.
The error message is as follows:
TestLdcMethodHandle.jasm (17:42) Error: Wrong tag: Either Method or
InterfaceMethod expected.
ldc MethodHandle REF_invokeStatic:Method
TestLdcMethodHandle.main:"([Ljava/lang/String;)V";
^
1 error
Attachments
Issue Links
- relates to
-
CODETOOLS-7902892 jasm incorrectly processes reference_kind:reference_index pair in ldc Dynamic instructions
-
- Resolved
-