Bug 777795 (SOA-319)

Summary: Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Fernando Meyer <fmcamargo>
Component: JBoss RulesAssignee: Fernando Meyer <fmcamargo>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 Beta 1   
Target Milestone: ---   
Target Release: 4.2 Beta 2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-319
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-11 12:48:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fernando Meyer 2008-01-10 22:29:05 UTC
Date of First Response: 2008-01-11 04:20:35
project_key: SOA

The RuleBaseConfiguration constructor:

{code}
    public RuleBaseConfiguration(ClassLoader classLoder,
                                 Properties properties) {
        init( classLoader,
              properties );
    }
{code}

contains a typo--the call to init should pass the (mis-spelled) classLoder, not the member field classLoader. As it is, the null member field is passed instead, resulting in the given ClassLoader instance being unused. Trivial fix: Just correct the spelling of the constructor arg name:

{code}
    public RuleBaseConfiguration(ClassLoader classLoader,
                                 Properties properties) {
        init( classLoader,
              properties );
    }
{code}

Comment 1 Fernando Meyer 2008-01-10 22:29:23 UTC
Link: Added: This issue depends JBRULES-1336


Comment 2 Mark Little 2008-01-11 09:20:35 UTC
If you think you can get this in for Beta2 then feel free. Check with Mike though.

Comment 3 Fernando Meyer 2008-01-11 12:47:58 UTC
It's already done, I just forgot to close the ticket