> 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. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 20 additional commits since the last revision: - Tweaks - Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion - Years - Formatting and add an example - Drop 2 - typos and consistency - Merge branch 'doc/reflect-accessor-conversion' into m1 - Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion - formatting - Merge branch 'master' of https://github.com/openjdk/jdk into doc/reflect-accessor-conversion - ... and 10 more: https://git.openjdk.org/jdk/compare/71a3b7b7...86002208 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/28685/files - new: https://git.openjdk.org/jdk/pull/28685/files/ee76fb40..86002208 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=28685&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28685&range=02-03 Stats: 1717 lines in 56 files changed: 1270 ins; 262 del; 185 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
