Author: jboynes
Date: Wed Aug 14 02:20:02 2013
New Revision: 1513714

URL: http://svn.apache.org/r1513714
Log:
Deprecate TldConfig and TLD-related properties of Context as they have been 
removed in Tomcat 8.0.x where TLD processing is handled by Jasper.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java
    tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java?rev=1513714&r1=1513713&r2=1513714&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java Wed Aug 14 
02:20:02 2013
@@ -655,7 +655,11 @@ public interface Context extends Contain
      * Set the validation feature of the XML parser used when
      * parsing tlds files.
      * @param tldValidation true to enable xml instance validation
+     *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public void setTldValidation(boolean tldValidation);
 
 
@@ -663,14 +667,21 @@ public interface Context extends Contain
      * Get the server.xml <context> attribute's webXmlValidation.
      * @return true if validation is enabled.
      *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public boolean getTldValidation();
 
 
     /**
      * Get the server.xml &lt;host&gt; attribute's xmlNamespaceAware.
      * @return true if namespace awareness is enabled.
+     *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public boolean getTldNamespaceAware();
 
 
@@ -678,7 +689,11 @@ public interface Context extends Contain
      * Set the namespace aware feature of the XML parser used when
      * parsing xml instances.
      * @param tldNamespaceAware true to enable namespace awareness
+     *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public void setTldNamespaceAware(boolean tldNamespaceAware);
 
     /**

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1513714&r1=1513713&r2=1513714&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java Wed 
Aug 14 02:20:02 2013
@@ -6630,6 +6630,7 @@ public class StandardContext extends Con
      * @param tldValidation true to enable xml instance validation
      */
     @Override
+    @Deprecated
     public void setTldValidation(boolean tldValidation){
         
         this.tldValidation = tldValidation;
@@ -6642,6 +6643,7 @@ public class StandardContext extends Con
      *
      */
     @Override
+    @Deprecated
     public boolean getTldValidation(){
         return tldValidation;
     }
@@ -6650,14 +6652,22 @@ public class StandardContext extends Con
      * Sets the process TLDs attribute.
      *
      * @param newProcessTlds The new value
+     *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public void setProcessTlds(boolean newProcessTlds) {
         processTlds = newProcessTlds;
     }
 
     /**
      * Returns the processTlds attribute value.
+     *
+     * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+     *             has been moved to Jasper.
      */
+    @Deprecated
     public boolean getProcessTlds() {
         return processTlds;
     }
@@ -6667,6 +6677,7 @@ public class StandardContext extends Con
      * @return true if namespace awarenes is enabled.
      */
     @Override
+    @Deprecated
     public boolean getTldNamespaceAware(){
         return tldNamespaceAware;
     }
@@ -6678,6 +6689,7 @@ public class StandardContext extends Con
      * @param tldNamespaceAware true to enable namespace awareness
      */
     @Override
+    @Deprecated
     public void setTldNamespaceAware(boolean tldNamespaceAware){
         this.tldNamespaceAware= tldNamespaceAware;
     }    

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java?rev=1513714&r1=1513713&r2=1513714&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java Wed 
Aug 14 02:20:02 2013
@@ -55,7 +55,11 @@ import org.xml.sax.SAXException;
  * @author Craig R. McClanahan
  * @author Jean-Francois Arcand
  * @author Costin Manolache
+ *
+ * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD processing
+ *             has been moved to Jasper.
  */
+@Deprecated
 public final class TldConfig  implements LifecycleListener {
 
     private static final String TLD_EXT = ".tld";

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1513714&r1=1513713&r2=1513714&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Aug 14 02:20:02 2013
@@ -111,6 +111,11 @@
         <bug>55404</bug>: Log warnings about using security roles in web.xml
         without defining them as warnings. (markt)
       </fix>
+      <scode>
+        <bug>55246</bug>: Deprecate TldConfig and TLD-related properties of 
Context
+        as they have been removed in Tomcat 8.0.x where TLD processing is 
handled
+        by Jasper. (jboynes)
+      </scode>
     </changelog>
   </subsection>
   <subsection name="Coyote">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to