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 2026/06/15 19:54:34 UTC
(tomcat) branch main updated: Need to mirror API of superclass method else TCK signature test fails
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 685c14521d Need to mirror API of superclass method else TCK signature test fails
685c14521d is described below
commit 685c14521d77e79301e393b2d1c4a100d1b0101c
Author: Mark Thomas <ma...@apache.org>
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 fcdf94c4c6..10a2feb5c9 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org