[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-1557) DynamicRulesTest.testDynamicFunction Fails under JDK 1.6
Ming Jin (JIRA)
jira-events at lists.jboss.org
Fri Apr 11 12:30:54 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1557?page=all ]
Ming Jin resolved JBRULES-1557.
-------------------------------
Resolution: Done
Since implementing the immutable package related objects, the classloader of the original package would be no longer available after package merge. This seems affecting dynamic functions because the call of the invoker of the function requires the creating classloader to be present.
Resolution:
Added addFunction as part of the package merging and set the corresponding DialectData to dirty to force a re-wire, thus resolve the classloader issue.
> DynamicRulesTest.testDynamicFunction Fails under JDK 1.6
> --------------------------------------------------------
>
> Key: JBRULES-1557
> URL: http://jira.jboss.com/jira/browse/JBRULES-1557
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Drl Parser/Builder
> Affects Versions: 5.0.0-M1
> Environment: JDK 1.6
> Reporter: Ming Jin
> Assigned To: Ming Jin
> Priority: Minor
> Fix For: 5.0.0-M1
>
>
> NoClassDefFoundError was thrown as the following:
> java.lang.NoClassDefFoundError: org/drools/test/AddFive
> It happened in testDynamicFunction, in a call of fireAllRules after the function has been removed, and then added again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list