git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@889701
13f79535-47bb-0310-9956-
ffa450edef68
jarFile = urlConn.getJarFile();
JarEntry fragmentEntry =
jarFile.getJarEntry(FRAGMENT_LOCATION);
- if (fragmentEntry != null) {
+ if (fragmentEntry == null) {
+ // If there is no web.xml, normal JAR no impact on
+ // distributable
+ fragment.setDistributable(true);
+ } else {
stream = jarFile.getInputStream(fragmentEntry);
InputSource source = new InputSource(
urlConn.getJarFileURL().toString() +