RFR: 8373196: Core reflection overview update for access check and conversions
Chen Liang
liach at openjdk.org
Sat Dec 6 00:21:12 UTC 2025
Core reflection has its own type conversion behavior that is somewhat poorly specified; it is scattered around a few places, and its boxing and unboxing deviates from that of Java language assignment contexts. In addition, core reflection has a somewhat erroneous access check system. We can improve the overview of java.lang.reflect to address these shortcomings and recommend users to use java.lang.invoke for better functionality in these areas.
-------------
Commit messages:
- formatting
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- More stuff
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- Links
- Tweak again
- Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion
- ... and 2 more: https://git.openjdk.org/jdk/compare/a20b7eb9...7cd59b24
Changes: https://git.openjdk.org/jdk/pull/28685/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28685&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373196
Stats: 374 lines in 7 files changed: 158 ins; 73 del; 143 mod
Patch: https://git.openjdk.org/jdk/pull/28685.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28685/head:pull/28685
PR: https://git.openjdk.org/jdk/pull/28685
More information about the core-libs-dev
mailing list