You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Romain Gilles (JIRA)" <ji...@apache.org> on 2015/11/04 09:44:27 UTC
[jira] [Commented] (ARIES-1437) Use ASM5 Opcodes instead of the
ASM4 and implement ASM 5 visitor api.
[ https://issues.apache.org/jira/browse/ARIES-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989131#comment-14989131 ]
Romain Gilles commented on ARIES-1437:
--------------------------------------
You're welcome
> Use ASM5 Opcodes instead of the ASM4 and implement ASM 5 visitor api.
> ---------------------------------------------------------------------
>
> Key: ARIES-1437
> URL: https://issues.apache.org/jira/browse/ARIES-1437
> Project: Aries
> Issue Type: Bug
> Components: SPI Fly
> Affects Versions: spifly-1.0.2
> Reporter: Romain Gilles
> Assignee: David Bosschaert
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> If weaving code use Java 8 specific language features you will end-up with this kind of exception:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: INVOKESPECIAL/STATIC on interfaces require ASM 5
> at org.objectweb.asm.MethodVisitor.visitMethodInsn(Unknown Source)
> at org.objectweb.asm.ClassReader.a(Unknown Source)
> at org.objectweb.asm.ClassReader.b(Unknown Source)
> at org.objectweb.asm.ClassReader.accept(Unknown Source)
> at org.objectweb.asm.ClassReader.accept(Unknown Source)
> at org.apache.aries.spifly.dynamic.ClientWeavingHook.weave(ClientWeavingHook.java:61)
> {code}
> I provide a pull request in order to solve it:
> [https://github.com/apache/aries/pull/29]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)