Tillmann Seidel created JBRULES-3574:
----------------------------------------
Summary: Split package org.drools.rule.builder.dialect.asm in org.drools.core
and org.drools.compiler causes OSGi problems
Key: JBRULES-3574
URL:
https://issues.jboss.org/browse/JBRULES-3574
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.4.0.Final
Reporter: Tillmann Seidel
Assignee: Mark Proctor
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:
{code}
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
{code}
Ideally split packages should not be used at all. If they cannot be avoided, they should
be declared as such in the OSGi manifest.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira