RFR: JDK-8322979: Add informative discussion to Modifier

Alan Bateman alanb at openjdk.org
Wed Jan 10 10:49:24 UTC 2024


On Wed, 10 Jan 2024 06:00:18 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Add a few apiNote concerning source-level modifiers that are not represented in java.lang.reflect.Modifier.

src/java.base/share/classes/java/lang/reflect/Modifier.java line 237:

> 235:      * To make a high-fidelity representation of the Java source
> 236:      * modifiers of a class or member, source-level modifiers that do
> 237:      * not <em>not</em> have a constant in the this class should be

The wording looks okay, just a repeated "not" here.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17338#discussion_r1447199201


More information about the core-libs-dev mailing list