On Fri, 9 Jan 2026 18:15:36 GMT, Joe Darcy <[email protected]> wrote:
>> 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 56:
>
>> 54: * the use happened on the member in A, while in the Java Language and
>> JVM,
>> 55: * the use can happen on an inherited member in another class or
>> interface, and
>> 56: * access control proceeds differently. (JLS {@jls 6.6.1}, JVMS {@jvms
>> 5.4.4})
>
> I suggest making the discussion here more explicit, such as by added a
> concrete B subclasses to the text, and discussing briefly the distinctions
> between method access i the context of B vs A.
Done. See the examples below.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28685#discussion_r3369527285