diff --git a/jetty-ee9/jetty-ee9-plus/src/main/java/org/eclipse/jetty/ee9/plus/webapp/EnvConfiguration.java b/jetty-ee9/jetty-ee9-plus/src/main/java/org/eclipse/jetty/ee9/plus/webapp/EnvConfiguration.java index c70e8a3ed56..7c2506b071c 100644 --- a/jetty-ee9/jetty-ee9-plus/src/main/java/org/eclipse/jetty/ee9/plus/webapp/EnvConfiguration.java +++ b/jetty-ee9/jetty-ee9-plus/src/main/java/org/eclipse/jetty/ee9/plus/webapp/EnvConfiguration.java @@ -98,6 +98,8 @@ public class EnvConfiguration extends AbstractConfiguration org.eclipse.jetty.util.resource.Resource webInf = context.getWebInf(); if (webInf != null && webInf.isDirectory()) { + // TODO: should never return from WEB-INF/lib/foo.jar!/WEB-INF/jetty-env.xml + // TODO: should also never return from a META-INF/versions/#/WEB-INF/jetty-env.xml location org.eclipse.jetty.util.resource.Resource jettyEnv = webInf.resolve("jetty-env.xml"); if (jettyEnv.exists()) {