Uploaded image for project: 'JBoss AOP'
  1. JBoss AOP
  2. JBAOP-693

Use jarjar to rename classes in jboss-mdr and jboss-reflect for AS 4.2.x aop deployer

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.1.GA, 2.1.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      AS 4.2.x jboss-beans.deployer bundles MC 1.0.x, we have classes from MC 2.0.x in the aop deployer. The clashing classnames causes problems on startup on AS 4.2.x such as:
      Caused by: java.lang.NoSuchMethodError: org.jboss.beans.info.spi.BeanInfoFactory.getBeanInfo(Ljava/lang/ClassLoader;Lorg/jboss/classadapter/spi/ClassAdapter;)Lorg/jboss/beans/info/spi/BeanInfo;
      at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:60)
      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig.java:155)
      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernelConfig.java:123)
      at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)
      ... 101 more

      We should rename the classes in jboss-reflect.jar and jboss-mdr.jar and update the imports in the code that uses them using jarjar.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                kabirkhan Kabir Khan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: