[jboss-user] [JBoss AOP] - Re: JBoss AOP using JDK7

Ståle Pedersen do-not-reply at jboss.com
Tue Aug 9 19:26:17 EDT 2011

Ståle Pedersen [http://community.jboss.org/people/stalep] created the discussion

"Re: JBoss AOP using JDK7"

To view the discussion, visit: http://community.jboss.org/message/620222#620222

hi, without looking too closely into this, i think this change in jdk7 hotspot is the culprit:

> Important RFEs Addressed in JDK 7
> Area: HotSpot
> Synopsis: Classfiles with version number 51 are exclusively verified using the type-checking verifier, and thus the methods must have StackMapTable attributes when appropriate. For classfiles with version 50, the HotSpot JVM would (and continues to) failover to the type-inferencing verifier if the stackmaps in the file were missing or incorrect. This failover behavior does not occur for classfiles with version 51 (the default version for JDK7).
> Any tool that modifies bytecode in a version 51 classfile must be sure to update the stackmap information to be consistent with the bytecode in order to pass verification.
> RFE: 6693236
there are zero development on jboss-aop atm (if not someone from the community start contributing) so your best workaround would probably be to set the compile target to version 50.

Reply to this message by going to Community

Start a new discussion in JBoss AOP at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110809/325ce1ac/attachment-0001.html 

More information about the jboss-user mailing list