You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The copy constructor of Safelist public Safelist(Safelist copy) does not deep copy the data structures as advertised in the JavaDoc but shares the nested data structures, e.g. Map<TagName, Set<AttributeKey>>. This causes unexpected mutation.
The copy constructor of Safelist
public Safelist(Safelist copy)
does not deep copy the data structures as advertised in the JavaDoc but shares the nested data structures, e.g.Map<TagName, Set<AttributeKey>>
. This causes unexpected mutation.An example would be:
The second output should not contain the
baz
attribute but does.The text was updated successfully, but these errors were encountered: