Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1492

Exception creating a subclass proxy of class with package-private access modifer.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • proxy-impl-1.0.3
    • proxy-impl-1.0.5
    • Proxy
    • 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)

      Attachments

        Activity

          People

            sbratton Sam Bratton
            sbratton Sam Bratton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: