]
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: