Affects Version/s: Nightly Builds
Fix Version/s: 1.1.0
Operating System: All
getClassLoader can return null to imply the Boot Class Loader (per JDK 1.3
documentatio at least) however unfortunately commons logging is not coded to
There are at least two places where this is a problem & commons logging dies w/
a NullPointerException, one in a Hashtable (used as a key to factory) [HashMap
allows null key, Hashtable does not] and one other more directly.
I modified the code to use the ClassLoader.getSystemClassLoader() when a null
was returned for Logger.getClassLoader() – assuming ['cos I had no better
guess/choice] that System == Boot [since there was no getBootClassLoader.] This
appears to be working.
I can send my modified code if interested.
|Fix Version/s||1.1.0 [ 12311848 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Affects Version/s||Nightly Builds [ 12311790 ]|
|Field||Original Value||New Value|