This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new c3d8f115a7 Need to mirror API of superclass method else TCK signature
test fails
c3d8f115a7 is described below
commit c3d8f115a764b15f1c97d72c47a52f5f19b73a52
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 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: [email protected]
For additional commands, e-mail: [email protected]