Skip to content

Commit 685c145

Browse files
committed
Need to mirror API of superclass method else TCK signature test fails
1 parent b0d0efa commit 685c145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/jakarta/servlet/jsp/tagext/TagData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public java.util.Enumeration<String> getAttributes() {
137137
}
138138

139139
@Override
140-
public TagData clone() {
140+
protected Object clone() throws CloneNotSupportedException {
141141
try {
142142
TagData clone = (TagData) super.clone();
143143
clone.attributes = new Hashtable<>(attributes);

0 commit comments

Comments
 (0)