Re: WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Lukasz Lenart
2014-03-03 9:54 GMT+01:00 Mark Thomas : > On 03/03/2014 08:23, Mark Thomas wrote: >> On 03/03/2014 08:06, Lukasz Lenart wrote: >>> Hi, >>> >>> We just were informed about bug in Apache Struts [1] but it looks like >>> a bug in Tomcat 8. The Package

WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Lukasz Lenart
Hi, We just were informed about bug in Apache Struts [1] but it looks like a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses class loader to fetch all the URLs where application's classes are stored, but right now the resulting enumeration contains also null element. The same code