On Sun, 7 Jun 2026 14:10:51 GMT, Chen Liang <[email protected]> wrote:
>> 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 incrementally with two additional > commits since the last revision: > > - Years > - Formatting and add an example src/java.base/share/classes/java/lang/reflect/package-info.java line 27: > 25: > 26: /** > 27: * Provides classes and interfaces, in addition to {@link Class > java.lang.Class}, Maybe we should add "and java.lang.Module" to this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28685#discussion_r3389298856
