You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Adam Juszkiewicz (JIRA)" <ji...@apache.org> on 2015/11/04 20:18:27 UTC
[jira] [Comment Edited] (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=14990213#comment-14990213 ]
Adam Juszkiewicz edited comment on ARIES-1437 at 11/4/15 7:18 PM:
------------------------------------------------------------------
Hello,
[~bosschaert] - When is new SPI Fly version with this fix planned to be released? I am using Java8 and I am getting this exact exception so I am really interested in this fix :)
Regards,
Adam.
was (Author: ajuszkiewicz):
Hello,
[~bosschaert] - When isnew SPI Fly version with this fix planned to be released? I am using Java8 and I am getting this exact exception so I am really interested in this fix :)
Regards,
Adam.
> 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)