Skip to content

Upgrade to Javassist 3.18.1 #70

Closed
Closed

Description

@mattbishop

Msgpack currently depends on Javassist 3.16.1, which fails spectacularly on Java7:

ava.lang.VerifyError: Inconsistent stackmap frames at branch target 38
Exception Details:
Location:
com/elasticpath/rest/resource/assets/impl/AssetResourceOperatorImplUriTest.()V @38: aload_1
Reason:
Type uninitializedThis (current frame, locals[1]) is not assignable to 'com/elasticpath/rest/resource/assets/impl/AssetResourceOperatorImplUriTest' (stack map, locals[1])
Current Frame:
bci: @24
flags: { flagThisUninit }
locals: { uninitializedThis, uninitializedThis, top, 'java/lang/Object' }
stack: { 'java/lang/Object', 'java/lang/Object' }
Stackmap Frame:
bci: @38
flags: { flagThisUninit }
locals: { uninitializedThis, 'com/elasticpath/rest/resource/assets/impl/AssetResourceOperatorImplUriTest' }
stack: { }
Bytecode:
0000000: 2a4c 120e b800 1403 bd00 1612 17b8 001b
0000010: b800 214e 2db2 0025 a500 0e2a 01c0 0027
0000020: b700 2aa7 0009 2bb7 002c 0157 b1
Stackmap Table:
append_frame(@38,Object[#2])
chop_frame(@44,1)

If I force maven to use Javassist 3.18.1, everything works as expected. Please upgrade this library dependency in your POM.

Activity

  1. muga commented on Feb 9, 2014

    @muga
    Member

    Thank you for your reporting. I take a look:-)

  2. muga commented on Feb 10, 2014

    @muga
    Member

    I think that you got problem filed on the following ticket.
    https://issues.jboss.org/browse/JASSIST-205

    I will upgrade javassist version: 3.16.1 to 3.18.1.

  3. added a commit that references this issue on Feb 10, 2014
  4. muga commented on Feb 10, 2014

    @muga
    Member

    @mattbishop thank you for your reporting. please contact us again if you have any comments and advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions