Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Heshan Suriyaarachchi
On Tue, Oct 14, 2014 at 2:19 PM, Alexander Kriegisch < alexan...@kriegisch.name> wrote: > Yes, the default compliance level is 1.4 according to > http://mojo.codehaus.org/aspectj-maven-plugin/compile-mojo.html#complianceLevel, > even in the current plugin version 1.7 (you still use 1.5, I recommen

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Alexander Kriegisch
I forgot to mention that AspectJ Maven Plugin 1.7 automatically uses aspectjtools 1.8.2 by default, see http://mojo.codehaus.org/aspectj-maven-plugin/dependencies.html > Am 14.10.2014 um 23:19 schrieb Alexander Kriegisch : > > Yes, the default compliance level is 1.4 according to > http://moj

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Alexander Kriegisch
Yes, the default compliance level is 1.4 according to http://mojo.codehaus.org/aspectj-maven-plugin/compile-mojo.html#complianceLevel, even in the current plugin version 1.7 (you still use 1.5, I recommend an update there as well, not just in the AspectJ runtime). -- Alexander Kriegisch http://

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Heshan Suriyaarachchi
Thank you for the quick feedback guys. I tried updating to the latest aspectj jars too. Still I saw the same error. Then I found out the error. I was missing the tag in my plugin configuration. Pasting the updated aspectj-maven-plugin configuration in case someone runs into the same issue that I

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Frank Pavageau
2014-10-14 21:28 GMT+02:00 Andy Clement : > > I’d recommend updating to a more recent AspectJ. Older AspectJs did have > issues with making mistakes generating stack map frames. The option to use > split verifier was only possible with JDK1.6 I think, with 1.7 they removed > that capability so th

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Andy Clement
Hi, I’d recommend updating to a more recent AspectJ. Older AspectJs did have issues with making mistakes generating stack map frames. The option to use split verifier was only possible with JDK1.6 I think, with 1.7 they removed that capability so the stack map frames needed to be correct. As

Re: [aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Heshan Suriyaarachchi
Sorry for the confusing title. It should be corrected as "Stackmap frame errors when building *an* aspectj project with Java 1.7" On Tue, Oct 14, 2014 at 11:31 AM, Heshan Suriyaarachchi < heshan.suriyaarach...@gmail.com> wrote: > Hi, > > I have a project which is using aspectj and it is building

[aspectj-users] Stackmap frame errors when building the aspectj project with Java 1.7

2014-10-14 Thread Heshan Suriyaarachchi
Hi, I have a project which is using aspectj and it is building fine with Java 1.6. When I update it to Java 1.7 I'm seeing following error. [INFO] Molva the Destroyer Aspects ... FAILURE [2.324s] [INFO] Molva The Destroyer Client SKIPPED [INFO] Molva T