On Tue, 1 Sep 2026 21:20:11 GMT, Andy Goryachev <[email protected]> wrote:

>> Regarding the difference from the current `master` code, creating a 
>> `DataFormat` with identical IDs in a different order to an existing one used 
>> to throw, but now it's ignored, so you get your new instance. If you now try 
>> to `Map#get` with it, you will get `null` because the first-come-first-serve 
>> `DataFormat` has a different hashcode than yours has. Imagine the surprise.
>
> you are right, this needs to be fixed.  thanks!

The AI found this, I'll give it positive reinforcement.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2197#discussion_r3908561335

Reply via email to