You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Samuel Bratton (JIRA)" <ji...@apache.org> on 2016/02/03 17:22:39 UTC

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

Samuel Bratton resolved ARIES-1492.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: proxy-impl-1.0.5

> 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
>             Fix For: proxy-impl-1.0.5
>
>
> 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)