droolsjbpm/droolsjbpm-knowledge — pull request #17 by jespersm (2012-01-30 14:46:40+00:00)
Title: One more for JBRULES-3122 - null returned from a Drools class loader.getResources

The problem with null being returned from a Drools class loader resurfaces inside CompositeClassLoader.

The simplest fix is just to avoid the special case for "enumerations.size() == 0".
A slightly longer fix is the one I'm proposing here, since it allows the CompositeEnumeration collection to be collected earlier.