From 52a7afdac3c13d90281e8a5486d9366b98e2fc50 Mon Sep 17 00:00:00 2001 From: markt Date: Sat, 14 Nov 2009 02:48:19 +0000 Subject: [PATCH] Add TODOs as per discussion on dev list git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@836102 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/startup/ContextConfig.java | 3 ++- java/org/apache/jasper/compiler/TldLocationsCache.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/startup/ContextConfig.java b/java/org/apache/catalina/startup/ContextConfig.java index 7724f3914..f5fdc346f 100644 --- a/java/org/apache/catalina/startup/ContextConfig.java +++ b/java/org/apache/catalina/startup/ContextConfig.java @@ -188,9 +188,10 @@ public class ContextConfig private static HashSet noFragmentJars; /* - * Initializes the set of JARs that are known not to contain any TLDs + * Initializes the set of JARs that are known not to contain any web-fragments */ static { + // TODO - set this list via configuration (also TLDs in Jasper) noFragmentJars = new HashSet(); // Bootstrap JARs noFragmentJars.add("bootstrap.jar"); diff --git a/java/org/apache/jasper/compiler/TldLocationsCache.java b/java/org/apache/jasper/compiler/TldLocationsCache.java index 2dd5ca801..226892dce 100644 --- a/java/org/apache/jasper/compiler/TldLocationsCache.java +++ b/java/org/apache/jasper/compiler/TldLocationsCache.java @@ -119,6 +119,7 @@ public class TldLocationsCache { * Initializes the set of JARs that are known not to contain any TLDs */ static { + // TODO - set this list via configuration (also web-fragments) noTldJars = new HashSet(); // Bootstrap JARs noTldJars.add("bootstrap.jar"); -- 2.11.0