Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3574

Split package org.drools.rule.builder.dialect.asm in org.drools.core and org.drools.compiler causes OSGi problems

    XMLWordPrintable

    Details

      Description

      The package org.drools.rule.builder.dialect.asm has been split between the OSGi bundles org.drools.core and org.drools.compiler. This leads to class loader problems when used in an OSGi environment:

      java.lang.IllegalAccessError: tried to access method org.drools.rule.builder.dialect.asm.GeneratorHelper.createInvokerClassGenerator(Ljava/lang/String;Lorg/drools/rule/builder/dialect/asm/InvokerDataProvider;Lorg/drools/util/CompositeClassLoader;Lorg/drools/base/TypeResolver;)Lorg/drools/rule/builder/dialect/asm/ClassGenerator; from class org.drools.rule.builder.dialect.asm.InvokerGenerator
      

      Ideally split packages should not be used at all. If they cannot be avoided, they should be declared as such in the OSGi manifest.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tirelli Edson Tirelli
              Reporter:
              tseidel Tillmann Seidel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: