You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/02 13:50:39 UTC

[jira] [Commented] (ARIES-1492) Exception creating a subclass proxy of class with package-private access modifer.

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

ASF subversion and git services commented on ARIES-1492:
--------------------------------------------------------

Commit 1728108 from [~sbratton] in branch 'aries/trunk'
[ https://svn.apache.org/r1728108 ]

[ARIES-1492] Exception creating a subclass proxy of class with package-private access modifer.

> Exception creating a subclass proxy of class with package-private access modifer.
> ---------------------------------------------------------------------------------
>
>                 Key: ARIES-1492
>                 URL: https://issues.apache.org/jira/browse/ARIES-1492
>             Project: Aries
>          Issue Type: Bug
>          Components: Proxy
>    Affects Versions: proxy-impl-1.0.3
>            Reporter: Samuel Bratton
>            Assignee: Samuel Bratton
>
> Creating a subclass proxy of class with package-private access modifer throws an IllegalArgumentException:
> java.lang.IllegalArgumentException: null
>         at org.objectweb.asm.commons.Method.getMethod(Method.java:175)
>         at org.objectweb.asm.commons.Method.getMethod(Method.java:144)
>         at org.apache.aries.proxy.impl.gen.ProxySubclassAdapter.visit(ProxySubclassAdapter.java:154)
>         at org.objectweb.asm.ClassReader.accept(ClassReader.java:622)
>         at org.objectweb.asm.ClassReader.accept(ClassReader.java:506)
>         at org.apache.aries.proxy.impl.gen.ProxySubclassGenerator.processClass(ProxySubclassGenerator.java:255)
>         at org.apache.aries.proxy.impl.gen.ProxySubclassGenerator.generateAndLoadSubclass(ProxySubclassGenerator.java:234)
>         at org.apache.aries.proxy.impl.gen.ProxySubclassGenerator.getProxySubclass(ProxySubclassGenerator.java:130)
>         at org.apache.aries.proxy.impl.gen.ProxySubclassGenerator.getProxySubclass(ProxySubclassGenerator.java:75)
>         at org.apache.aries.blueprint.proxy.ProxySubclassGeneratorTest.testPackageAccessCtor(ProxySubclassGeneratorTest.java:190)



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