Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
For CompositeFilter.remove(Filter) to work correctly, concrete Filter implementations should override equals and hashCode.
This is because CompositeFilter uses List.remove(Object), comparing by equality. Applications that keep a reference to the Filter object that was registered will work, but for example registering and unregistering serialized and deserialized instances via JMX will not work without this.
Attachments
Issue Links
- is depended upon by
-
LOG4J2-1594 Add support for adding and removing Filters via JMX
- Open