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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 1dd953c19b Need to mirror API of superclass method else TCK signature 
test fails
1dd953c19b is described below

commit 1dd953c19b438779d4834e294af417161e5b1de9
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jun 15 20:54:20 2026 +0100

    Need to mirror API of superclass method else TCK signature test fails
---
 java/jakarta/servlet/jsp/tagext/TagData.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/jakarta/servlet/jsp/tagext/TagData.java 
b/java/jakarta/servlet/jsp/tagext/TagData.java
index 8c1fa94401..9e724e00fc 100644
--- a/java/jakarta/servlet/jsp/tagext/TagData.java
+++ b/java/jakarta/servlet/jsp/tagext/TagData.java
@@ -137,7 +137,7 @@ public class TagData implements Cloneable {
     }
 
     @Override
-    public TagData clone() {
+    protected Object clone() throws CloneNotSupportedException {
         try {
             TagData clone = (TagData) super.clone();
             clone.attributes = new Hashtable<>(attributes);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to