Re: [aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-13 Thread Frank Pavageau
2013/9/13 Krishna Jasty > Thanks Frank for the update, > //The byte code instructions are defined by the JVM specifications, it's > not something AspectJ can change. See * > http://en.wikipedia.org/wiki/Java_bytecode_instruction_listings*

Re: [aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-13 Thread Krishna Jasty
t jvm. Let me know. Thanks, Krishna From: Frank Pavageau To: aspectj-users@eclipse.org Date: 09/13/2013 02:08 PM Subject: Re: [aspectj-users] Handle Unable to pack method, jump in aspectj Sent by: aspectj-users-boun...@eclipse.org 2013/9/13 Krishna Jasty I will work on the method, whi

Re: [aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-13 Thread Frank Pavageau
2013/9/13 Krishna Jasty > I will work on the method, which is bigger in size and causing this error. > I can try to split the single big method into several small pieces. > Meanwhile these exceptions are very common in my application though the > aspectj instrumentation is very small. > Big meth

Re: [aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-12 Thread Krishna Jasty
: [aspectj-users] Handle Unable to pack method, jump in aspectj Sent by: aspectj-users-boun...@eclipse.org Hi, > What exactly is happening here, can you share more details on how to avoid this. The instructions are being reorganized now that new code has been inserted by AspectJ. Destinati

Re: [aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-12 Thread Andy Clement
Hi, > What exactly is happening here, can you share more details on how to avoid this. The instructions are being reorganized now that new code has been inserted by AspectJ. Destinations for branch targets that moved (probably due to the insertion of advice) are being recomputed. If the jump de

[aspectj-users] Handle Unable to pack method, jump in aspectj

2013-09-11 Thread Krishna Jasty
Hi, When i use the aspectj in our application, i am facing the following exception. Caused by: java.lang.IllegalStateException: Unable to pack method, jump (with opcode=158) is too far: 32089 at org.aspectj.apache.bcel.generic.InstructionBranch.updatePosition(InstructionBranch.java:176)