Integrated: JDK-8288227: Refactor annotation implementation to use pattern matching for instanceof

Joe Darcy darcy at openjdk.java.net
Fri Jun 10 17:10:05 UTC 2022


On Fri, 10 Jun 2022 16:15:36 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> There are many instanceof checks in the sun.reflection.annotation code; these would be improved by using pattern matching for instanceof.

This pull request has now been integrated.

Changeset: aaa89714
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/aaa897148ab2669e06531521221f0551335b3d1f
Stats:     57 lines in 4 files changed: 1 ins; 14 del; 42 mod

8288227: Refactor annotation implementation to use pattern matching for instanceof

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list