You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebAppClassloader.addJars(Resource) method looks for all jar files inside the Resource (that is a directory), turning each of the jars into a String and calling addClassPath(String). That method is expecting either a single jar, or a comma separated list of jars. There are 2 bugs in this method:
if even a single jar is passed as the argument, a List<URI> is produced and passed to the ResourceFactory, which turns it into a CombinedResource. It should be just a single Resource.
if multiple jars are passed as the argument, it is incorrect to transform them into a CombinedResource. They are simply a list of different jar Resources, they are not a CombinedResource (which is a combination of resources, all of which are directories).
The text was updated successfully, but these errors were encountered:
jetty-12.0.x
The
WebAppClassloader.addJars(Resource)
method looks for alljar
files inside theResource
(that is a directory), turning each of thejar
s into aString
and callingaddClassPath(String)
. That method is expecting either a single jar, or a comma separated list of jars. There are 2 bugs in this method:List<URI>
is produced and passed to theResourceFactory
, which turns it into aCombinedResource
. It should be just a singleResource
.CombinedResource
. They are simply a list of different jarResources
, they are not aCombinedResource
(which is a combination of resources, all of which are directories).The text was updated successfully, but these errors were encountered: