-
Notifications
You must be signed in to change notification settings - Fork 320
Misc upgrades. #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc upgrades. #271
Conversation
|
I'll work on these errors tomorrow. |
|
Thanks for making me aware of this. I am investigating. I cannot exclude that this is actually a bug in ASM 6.1 which changed the way how parameter annotations are represented to a method visitor. I will let you know once I found out more. |
4e74691 to
6c756af
Compare
|
I just pushed a few changes and also updated ASM to 6.1.1 which was just released yesterday. I struggle to reproduce the issue as a unit test but could you build Byte Buddy from master and see if the issue is resolved? When I patch your build to use my local Maven repository to use |
|
I released 1.8.1 which should fix that issue. |
|
@raph, ok thanks. I’ll try tomorrow. |
|
@raphw that seemed to work. Thanks for fixing that! |
Currently fails with the following exception:
```
Bad access to protected data in invokevirtual
Exception Details:
Location:
io/netty/util/concurrent/GlobalEventExecutor.execute(Ljava/lang/Runnable;)V @76: invokevirtual
Reason:
Type 'java/util/concurrent/AbstractExecutorService' (current frame, stack[0]) is not assignable to 'io/netty/util/concurrent/GlobalEventExecutor'
Current Frame:
bci: @76
flags: { }
locals: { 'io/netty/util/concurrent/GlobalEventExecutor', 'java/lang/Runnable' }
stack: { 'java/util/concurrent/AbstractExecutorService', 'java/lang/Runnable', null }
Bytecode:
0x0000000: 2bc1 0111 9a00 2201 2ba5 001d b201 172b
0x0000010: b801 1d9a 0013 2bb6 0048 b601 2313 0125
0x0000020: b601 2b99 0006 a700 3a2b c101 2d99 0012
0x0000030: bb01 2f59 2bb8 0133 b701 354c a700 212a
0x0000040: c101 3799 0010 2ac0 0137 2b01 b601 3b4c
0x0000050: a700 0dbb 013d 592b 01b7 0140 4ca7 0003
0x0000060: 2a4d 2b4e 2dc7 000d bb00 a859 12a9 b700
0x0000070: acbf 2c2d b700 d62c b600 d89a 0007 2cb7
0x0000080: 00db a700 0301 4da7 0004 4d01 2ca5 0015
0x0000090: 2bc1 0111 9900 0e2b c001 1104 b901 4402
0x00000a0: 0057 a700 032c c600 052c bfb1
Exception Handler Table:
bci [100, 133] => handler: 138
Stackmap Table:
same_frame(@38)
same_frame(@41)
same_frame(@63)
same_frame(@83)
same_frame(@93)
same_frame(@96)
append_frame(@100,Object[#2],Object[#126])
same_frame(@114)
same_frame(@130)
full_frame(@133,{Object[#2],Object[#126]},{})
same_locals_1_stack_item_frame(@138,Object[#271])
append_frame(@139,Object[#271])
same_frame(@162)
same_frame(@165)
same_frame(@171)
```
When I tried upgrading to Byte Buddy 1.8.0 I get the following error in
JerseyTest:As a result, I'm leaving it at 1.7.11.
cc/ @raphw