> 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 16 additional commits since the last revision: - 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 - 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 - ... and 6 more: https://git.openjdk.org/jdk/compare/ae649724...ab56632f ------------- Changes: - all: https://git.openjdk.org/jdk/pull/28685/files - new: https://git.openjdk.org/jdk/pull/28685/files/7cd59b24..ab56632f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=28685&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28685&range=00-01 Stats: 1246033 lines in 11493 files changed: 598957 ins; 552275 del; 94801 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
