equals inconsistent with hashCode in AffineTransform

Lothar Kimmeringer job at kimmeringer.de
Mon Jul 25 12:12:26 UTC 2022



Am 25.07.2022 um 14:04 schrieb Martin Desruisseaux:

>This bug prevents the use of AffineTransform as keys in HashMap, unless
> AffineTransform construction is well-controlled or some workaround is
> applied before any use as key.

AffineTransform isn't immutable so it can't be used as key in Maps anyway.


Best regards,

Lothar Kimmeringer



More information about the client-libs-dev mailing list