On Fri, 10 Jun 2022 16:15:36 GMT, Joe Darcy <da...@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 <da...@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