RFR: JDK-8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives [v2]

Pavel Rappo prappo at openjdk.org
Fri Jun 23 17:47:05 UTC 2023


On Fri, 23 Jun 2023 17:25:00 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Correct misstatement that the Class object for a primitive type can only be be access via fields like java.lang.Integer.TYPE.
>
> Joe Darcy 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 five additional commits since the last revision:
> 
>  - Respond to review feedback.
>  - Respond to review feedback.
>  - Merge branch 'master' into JDK-8310267
>  - Fix whitespace.
>  - JDK-8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives

src/java.base/share/classes/java/lang/Class.java line 823:

> 821:      *
> 822:      * @apiNote
> 823:      * A {@code Class} object represented a primitive type can be

Not a native speaker, but "representED" not "representING"?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14574#discussion_r1240107268


More information about the core-libs-dev mailing list