Hi Christian,

Thanks for the update, let me check the WovenProxyAdapter and eventually cut a 
new Aries Proxy release.

Regards
JB

> Le 22 juin 2021 à 18:20, Nerriere, Christian <christiannerri...@eaton.com> a 
> écrit :
> 
> 
> Hello JB,
>  
> I just try it with Karaf 4.3.2 (and Aries Proxy 1.1.10) but I have the same 
> error.
> The constructor of the AbstractWovenProxyAdapter 
> <https://github.com/apache/aries/blob/org.apache.aries.proxy-1.1.10/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/common/AbstractWovenProxyAdapter.java>
>  still uses Opcodes.ASM5 in its constructor.
>  
> Christian
>  
> From: Jean-Baptiste Onofre <j...@nanthrax.net> 
> Sent: jeudi 17 juin 2021 16:59
> To: user@aries.apache.org
> Subject: [EXTERNAL] Re: UnsupportedOperationException: NestMember requires 
> ASM7
>  
> Hi Christian
>  
> Did you try with Karaf 4.3.2 or 4.2.12-SNAPSHOT ?
>  
> I did an update on Aries Proxy with ASM9 code.
>  
> Regards
> JB
> 
> 
> Le 17 juin 2021 à 16:27, Nerriere, Christian <christiannerri...@eaton.com 
> <mailto:christiannerri...@eaton.com>> a écrit :
>  
> Hello,
>  
> I’m trying to use Aries Proxy to create weaving proxies on some classes of my 
> project (running with Karaf 4.2.11 and Java 11).
> I changed the custom.properties to restrict weaving on my project classes and 
> added a  ProxyWeavingController component but the weaving fails with the 
> following error:
> 
> java.lang.UnsupportedOperationException: NestMember requires ASM7
>  
> In the Aries proxy code, I found that the ClassVisitor 
> AbstractWovenProxyAdapter uses Opcodes.ASM5. Is it a choice? Why?
> Thanks.
> 
> Christian
>  
>  
> Eaton Industries (France) S.A.S ~ Siège social: 110 Rue Blaise Pascal, 
> Immeuble Le Viséo - Bâtiment A Innovallée, 38330, Montbonnot-St.-Martin, 
> France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Numéro 
> d'enregistrement: 509 653 176 ~ Capital social souscrit et liberé:€ 16215441 
> ~ Numéro de TVA: FR47509653176
>  
> 
>  
> 
> Eaton Industries (France) S.A.S ~ Siège social: 110 Rue Blaise Pascal, 
> Immeuble Le Viséo - Bâtiment A Innovallée, 38330, Montbonnot-St.-Martin, 
> France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Numéro 
> d'enregistrement: 509 653 176 ~ Capital social souscrit et liberé:€ 16215441 
> ~ Numéro de TVA: FR47509653176

Reply via email to