Bug 777795 (SOA-319) - Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
Summary: Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-319
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBoss Rules
Version: 4.2 Beta 1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 Beta 2
Assignee: Fernando Meyer
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-10 22:29 UTC by Fernando Meyer
Modified: 2008-01-11 12:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-11 12:48:10 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-319 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.