Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
proxy-impl-1.0.3
-
None
Description
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)