RFR: JDK-8288227: Refactor annotation implementation to use pattern matching for instanceof
Joe Darcy
darcy at openjdk.java.net
Fri Jun 10 16:22:20 UTC 2022
There are many instanceof checks in the sun.reflection.annotation code; these would be improved by using pattern matching for instanceof.
-------------
Commit messages:
- JDK-8288227: Refactor annotation implementation to use pattern matching for instanceo
Changes: https://git.openjdk.org/jdk/pull/9129/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9129&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8288227
Stats: 57 lines in 4 files changed: 1 ins; 14 del; 42 mod
Patch: https://git.openjdk.org/jdk/pull/9129.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9129/head:pull/9129
PR: https://git.openjdk.org/jdk/pull/9129
More information about the core-libs-dev
mailing list