On Wed, 23 Oct 2024 02:06:20 GMT, Joe Darcy <da...@openjdk.org> wrote:
> Noticed this refactoring opportunity while doing some other work in the area. This pull request has now been integrated. Changeset: a21c5586 Author: Joe Darcy <da...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/a21c558699646d44d071945c82203e2d68a4dcc3 Stats: 17 lines in 8 files changed: 0 ins; 1 del; 16 mod 8342863: Use pattern matching for instanceof in equals methods of wrapper classes Reviewed-by: rriggs ------------- PR: https://git.openjdk.org/jdk/pull/21652