You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/04/21 11:09:48 UTC

[tomcat] branch 9.0.x updated (7e40af674f -> 68ad5d3beb)

This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


    from 7e40af674f Try fixing travis builds - ant 1.10.11 no longer available on download server.
     new 814846606f Deprecate plugin constants prior to removal
     new 68ad5d3beb Additional deprecations

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 conf/web.xml                                       | 3 ++-
 java/org/apache/jasper/Constants.java              | 4 ++++
 java/org/apache/jasper/EmbeddedServletOptions.java | 3 +++
 java/org/apache/jasper/JspC.java                   | 9 ++++++---
 java/org/apache/jasper/Options.java                | 3 +++
 webapps/docs/jasper-howto.xml                      | 3 ++-
 6 files changed, 20 insertions(+), 5 deletions(-)


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


[tomcat] 02/02: Additional deprecations

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 68ad5d3bebc51c2d453f245fb01907a5fddb273b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 21 11:51:22 2022 +0100

    Additional deprecations
---
 conf/web.xml                                       | 3 ++-
 java/org/apache/jasper/EmbeddedServletOptions.java | 3 +++
 java/org/apache/jasper/JspC.java                   | 9 ++++++---
 java/org/apache/jasper/Options.java                | 3 +++
 webapps/docs/jasper-howto.xml                      | 3 ++-
 5 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/conf/web.xml b/conf/web.xml
index a9e29eee86..9d82319ba9 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -190,7 +190,8 @@
   <!--                       arrays, to improve performance in some cases?  -->
   <!--                       [false]                                        -->
   <!--                                                                      -->
-  <!--   ieClassId           The class-id value to be sent to Internet      -->
+  <!--   ieClassId           Deprecated. Will be removed in Tomcat 10.1     -->
+  <!--                       The class-id value to be sent to Internet      -->
   <!--                       Explorer when using <jsp:plugin> tags.         -->
   <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
   <!--                                                                      -->
diff --git a/java/org/apache/jasper/EmbeddedServletOptions.java b/java/org/apache/jasper/EmbeddedServletOptions.java
index 0acc7cf72b..91813aba79 100644
--- a/java/org/apache/jasper/EmbeddedServletOptions.java
+++ b/java/org/apache/jasper/EmbeddedServletOptions.java
@@ -321,7 +321,10 @@ public final class EmbeddedServletOptions implements Options {
 
     /**
      * Class ID for use in the plugin tag when the browser is IE.
+     *
+     * @deprecated Will be removed in Tomcat 10.1
      */
+    @Deprecated
     @Override
     public String getIeClassId() {
         return ieClassId;
diff --git a/java/org/apache/jasper/JspC.java b/java/org/apache/jasper/JspC.java
index c37680dc08..0623db9709 100644
--- a/java/org/apache/jasper/JspC.java
+++ b/java/org/apache/jasper/JspC.java
@@ -104,6 +104,7 @@ public class JspC extends Task implements Options {
         JspFactory.setDefaultFactory(new JspFactoryImpl());
     }
 
+    @Deprecated
     public static final String DEFAULT_IE_CLASS_ID =
             "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93";
 
@@ -185,6 +186,7 @@ public class JspC extends Task implements Options {
     protected boolean mappedFile = false;
     protected boolean poolingEnabled = true;
     protected File scratchDir;
+
     protected String ieClassId = DEFAULT_IE_CLASS_ID;
     protected String targetPackage;
     protected String targetClassName;
@@ -707,14 +709,15 @@ public class JspC extends Task implements Options {
      *
      * @param ieClassId
      *            Class-id value
+     *
+     * @deprecated Will be removed in Tomcat 10.1
      */
+    @Deprecated
     public void setIeClassId(String ieClassId) {
         this.ieClassId = ieClassId;
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    @Deprecated
     @Override
     public String getIeClassId() {
         return ieClassId;
diff --git a/java/org/apache/jasper/Options.java b/java/org/apache/jasper/Options.java
index 32e59fd7a2..e50c9411a6 100644
--- a/java/org/apache/jasper/Options.java
+++ b/java/org/apache/jasper/Options.java
@@ -113,7 +113,10 @@ public interface Options {
      * Gets the class-id value that is sent to Internet Explorer when using
      * &lt;jsp:plugin&gt; tags.
      * @return Class-id value
+     *
+     * @deprecated Will be removed in Tomcat 10.1.x
      */
+    @Deprecated
     public String getIeClassId();
 
     /**
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index a3ec42cef7..0a6d8ce813 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -147,7 +147,8 @@ performed in a separate JVM from Tomcat? <code>true</code> or
 <li><strong>genStringAsCharArray</strong> - Should text strings be generated as char
 arrays, to improve performance in some cases? Default <code>false</code>.</li>
 
-<li><strong>ieClassId</strong> - The class-id value to be sent to Internet
+<li><strong>ieClassId</strong> - Deprecated. Will be removed in Tomact 10.1.
+The class-id value to be sent to Internet
 Explorer when using &lt;jsp:plugin&gt; tags.   Default
 <code>clsid:8AD9C840-044E-11D1-B3E9-00805F499D93</code>.</li>
 


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


[tomcat] 01/02: Deprecate plugin constants prior to removal

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 814846606ffeefefd7d0f157075ffa8fd578fbb7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 21 11:41:00 2022 +0100

    Deprecate plugin constants prior to removal
---
 java/org/apache/jasper/Constants.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/java/org/apache/jasper/Constants.java b/java/org/apache/jasper/Constants.java
index 14fc6183af..76be684d8f 100644
--- a/java/org/apache/jasper/Constants.java
+++ b/java/org/apache/jasper/Constants.java
@@ -102,10 +102,14 @@ public class Constants {
 
     /**
      * Default URLs to download the plugin for Netscape and IE.
+     *
+     * @deprecated Will be removed in Tomcat 10.1 onwards
      */
+    @Deprecated
     public static final String NS_PLUGIN_URL =
         "http://java.sun.com/products/plugin/";
 
+    @Deprecated
     public static final String IE_PLUGIN_URL =
         "http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0";
 


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