[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1071) BinaryRuleBaseLoader doesn't accept custom ClassLoader

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Aug 15 21:31:07 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1071?page=all ]

Mark Proctor updated JBRULES-1071:
----------------------------------

    Fix Version/s: 4.0.1

> 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
>             Fix For: 4.0.1
>
>
> 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

        



More information about the jboss-jira mailing list