mbien commented on issue #9270: URL: https://github.com/apache/netbeans/issues/9270#issuecomment-4063960407
>> Wondering why you expect it to work if the instance identity changes? > > Because it's not written anywhere. We certainly can add a note to the javadoc, but please be aware that Maps and Sets are used everywhere (not just in NB). Mutable hash code is a red flag and will fail in many situations. By default, virtually everything will expect it to be constant. (e.g I remember https://issues.apache.org/jira/browse/LUCENE-10431 and how tricky it was narrow down) -- 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
