[JBoss JIRA] (ROASTER-94) VerifyError on latest JDT version
by George Gastaldi (JIRA)
George Gastaldi created ROASTER-94:
--------------------------------------
Summary: VerifyError on latest JDT version
Key: ROASTER-94
URL: https://issues.jboss.org/browse/ROASTER-94
Project: Roaster
Issue Type: Bug
Components: JDT
Affects Versions: 2.18.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.18.2.Final
ROASTER-93 changes should be reverted …
[View More]as it introduces the following error in the shaded JAR:
{code}
Caused by: java.lang.VerifyError:
Bad local variable type
Exception Details:
Location:
org/jboss/forge/roaster/_shade/org/eclipse/jdt/core/dom/ASTConverter.setModifiers(Lorg/jboss/forge/roaster/_shade/org/eclipse/jdt/core/dom/VariableDeclarationExpression;Lorg/jboss/forge/roaster/_shade/org/eclipse/jdt/internal/compiler/ast/LocalDeclaration;)V @94: iload
Reason:
Type top (current frame, locals[7]) is not assignable to integer
Current Frame:
bci: @94
flags: { }
locals: { 'org/jboss/forge/roaster/_shade/org/eclipse/jdt/core/dom/ASTConverter', 'org/jboss/forge/roaster/_shade/org/eclipse/jdt/core/dom/VariableDeclarationExpression', 'org/jboss/forge/roaster/_shade/org/eclipse/jdt/internal/compiler/ast/LocalDeclaration', top, '[Lorg/jboss/forge/roaster/_shade/org/eclipse/jdt/internal/compiler/ast/Annotation;', integer, null }
stack: { }
Bytecode:
0x0000000: 2ab4 014f b402 18aa 0000 0039 0000 0002
0x0000010: 0000 0002 0000 0011 2cb4 0dc2 130d ac7e
0x0000020: 3e1d 130d c57e 3e2b 1db6 0dc6 2cb4 0dc3
0x0000030: c601 942b 2bb6 0dc7 0480 b60d c8a7 0187
0x0000040: 2ab4 005a 2cb4 0187 2cb4 0b6d b600 802c
0x0000050: b40d c33a 0403 3605 a701 5901 3a06 1507
0x0000060: ab00 0000 0000 013f 0000 000f 0000 0025
0x0000070: 0000 0108 0000 0028 0000 009c 0000 0029
0x0000080: 0000 00d8 0000 0033 0000 0084 0000 0034
0x0000090: 0000 00c0 0000 0035 0000 00cc 0000 0036
0x00000a0: 0000 00b4 0000 0037 0000 00a8 0000 0038
0x00000b0: 0000 0090 0000 0039 0000 00fc 0000 003a
0x00000c0: 0000 00e4 0000 003b 0000 00f0 0000 03e9
0x00000d0: 0000 013c 0000 03ea 0000 013c 0000 03eb
0x00000e0: 0000 013c 2ab2 0d83 b70d 853a 06a7 00b3
0x00000f0: 2ab2 0d88 b70d 853a 06a7 00a7 2ab2 0d8b
0x0000100: b70d 853a 06a7 009b 2ab2 0d8e b70d 853a
0x0000110: 06a7 008f 2ab2 0d91 b70d 853a 06a7 0083
0x0000120: 2ab2 0d94 b70d 853a 06a7 0077 2ab2 0d97
0x0000130: b70d 853a 06a7 006b 2ab2 0d9a b70d 853a
0x0000140: 06a7 005f 2ab2 0d9d b70d 853a 06a7 0053
0x0000150: 2ab2 0da0 b70d 853a 06a7 0047 2ab2 0da3
0x0000160: b70d 853a 06a7 003b 1904 c600 3615 0519
0x0000170: 04be a200 2e19 0415 0584 0501 323a 082a
0x0000180: 1908 b606 ca3a 062a b400 5a19 08b4 0bd2
0x0000190: 0460 2ab4 0536 b600 80a7 0007 a700 04b1
0x00001a0: 1906 c600 0f2b b60d c919 06b9 00c1 0200
0x00001b0: 572a b400 5ab6 0084 5936 0710 3ca0 fe9e
0x00001c0: a700 0457 b1
Exception Handler Table:
bci [88, 415] => handler: 451
bci [416, 448] => handler: 451
Stackmap Table:
same_frame(@24)
same_frame(@64)
full_frame(@91,{Object[#2],Object[#1989],Object[#390],Top,Object[#2756],Integer,Integer},{})
full_frame(@228,{Object[#2],Object[#1989],Object[#390],Top,Object[#2756],Integer,Object[#3456],Integer},{})
same_frame(@240)
same_frame(@252)
same_frame(@264)
same_frame(@276)
same_frame(@288)
same_frame(@300)
same_frame(@312)
same_frame(@324)
same_frame(@336)
same_frame(@348)
same_frame(@360)
same_frame(@412)
same_frame(@415)
same_frame(@416)
chop_frame(@433,2)
same_locals_1_stack_item_frame(@451,Object[#116])
chop_frame(@452,3)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]