RFR: 8298385: Some font classes rely on blind casting to implement Object.equals()

Julian Waters jwaters at openjdk.org
Thu Jan 26 02:16:33 UTC 2023


On Sun, 25 Sep 2022 04:01:26 GMT, SWinxy <duke at openjdk.org> wrote:

> Some also had two separate methods to check equality, one calling the other. Objects.equals() is used in some places as a replacement for a local copy of the function. In the end, the equals methods become quicker to understand their checks, more condensed, and becomes more in line with other equality methods in the JDK.

Sorry for being so late, here's the corresponding entry: https://bugs.openjdk.org/browse/JDK-8298385

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

PR: https://git.openjdk.org/jdk/pull/10416



More information about the client-libs-dev mailing list