BinaryRuleBaseLoader doesn't accept custom ClassLoader
------------------------------------------------------
Key: JBRULES-1071
URL:
http://jira.jboss.com/jira/browse/JBRULES-1071
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.0.GA
Reporter: Vladimir Schafer
Assigned To: Mark Proctor
Priority: Minor
AddPackage method of class BinaryRuleBaseLoader accepts custom classloader as a parameter,
but this isn't propagated to DroolsObjectInputStream in addPackage method call. So
custom class loading isn't available when constructing RuleBases from JBRMS packaged
files.
Error is in file org.drools.util.BinaryRuleBaseLoader.java, Core module, line 81. Code
ObjectInputStream oin = new DroolsObjectInputStream( in ); should be changed to
ObjectInputStream oin = new DroolsObjectInputStream( in, classLoader ).
--
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