You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2015/11/30 12:31:11 UTC

[jira] [Closed] (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:all-tabpanel ]

David Bosschaert closed ARIES-1437.
-----------------------------------

Thanks for confirming, [~rogilles] - closing the issue.

> 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
>             Fix For: spifly-1.0.6
>
>   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)