mbien commented on issue #9270: URL: https://github.com/apache/netbeans/issues/9270#issuecomment-4059348498
Wondering why you expect it to work if the instance identity changes? Does the doc say something about `InstanceContent` having to compare references (`==`) and ignore user provided `equals()` `hashCode()` etc? Regular collections like `HashSet` won't work either if `hashCode()` of an object changes after it was added (you would have to use the `Collections.newSetFromMap(new IdentityHashMap<>())`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
