[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1336) Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Thu Jan 10 14:45:43 EST 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1336?page=all ]
Edson Tirelli closed JBRULES-1336.
----------------------------------
Fix Version/s: 4.0.4
4.1.0
Resolution: Done
Fixed. Thanks for reporting and providing solution.
> Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-1336
> URL: http://jira.jboss.com/jira/browse/JBRULES-1336
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.3
> Reporter: James Sparrow
> Assigned To: Edson Tirelli
> Fix For: 4.0.4, 4.1.0
>
>
> 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}
--
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