[ 
https://issues.apache.org/jira/browse/ARIES-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168993#comment-15168993
 ] 

István Szabó edited comment on ARIES-1186 at 2/26/16 1:18 PM:
--------------------------------------------------------------

ASM 4 support is not enought.

JBoss Fuse 6.2.0 uses asm-all v5.0.3, aries proxy impl v1.0.4 with the 
following function in MethodVisitor:

public void visitParameter(String name, int access) {
    if (api < Opcodes.ASM5) {
        throw new RuntimeException();
    }
    if (mv != null) {
        mv.visitParameter(name, access);
    }
}

So I got RuntimeException from aries proxy.


was (Author: [email protected]):
ASM 4 support is not enought.

JBoss Fuse 6.2.0 uses asm-all v5.0.3, with the following function in 
MethodVisitor:

public void visitParameter(String name, int access) {
    if (api < Opcodes.ASM5) {
        throw new RuntimeException();
    }
    if (mv != null) {
        mv.visitParameter(name, access);
    }
}

So I got RuntimeException from aries proxy.

> Upgrade proxy-impl to ASM 5 for Java 8 support
> ----------------------------------------------
>
>                 Key: ARIES-1186
>                 URL: https://issues.apache.org/jira/browse/ARIES-1186
>             Project: Aries
>          Issue Type: Improvement
>          Components: Proxy
>    Affects Versions: proxy-impl-1.0.2
>            Reporter: Harald Wellmann
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: proxy-impl-1.0.3
>
>
> Aries Proxy does not work under Java 8, since it depends on ASM 4 which does 
> not support Java 8.
> This is currently a blocker for working with Karaf 3.0.1 under Java 8. (Karaf 
> contains Aries Proxy Impl 1.0.2).
> Upgrading to ASM 5.0.2 requires changing a few {{super()}} calls in Aries 
> subclasses of ASM classes.
> I tried a local build of Aries Proxy Impl 1.0.3-SNAPSHOT with these changes, 
> and the result seems to be ok for Karaf.
> The larger part of the issue on Aries side is the dependency on a prehistoric 
> version of Pax Exam which depends on Pax Runner (with additional 
> configuration tweaks from Aries) which does not support Java 8 either, so I 
> haven't been able to run the Proxy integration tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to