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

2023-06-25 Thread Sam Brannen
On Fri, 23 Jun 2023 19:41:17 GMT, Joe Darcy 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 incrementally with one additional > commit since the last revision: >

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

2023-06-23 Thread Sam Brannen
On Fri, 23 Jun 2023 11:34:43 GMT, Pavel Rappo wrote: >> Hmm. I'll consider that. The javadoc in java.lang.Class is inconsistent in >> the formatting of "void" as a type name, some instances are in code markup >> while others are not. > >> @jddarcy and @pavelrappo, as I understood it, @liach is

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

2023-06-23 Thread Sam Brannen
On Wed, 21 Jun 2023 00:35:09 GMT, Joe Darcy wrote: >> src/java.base/share/classes/java/lang/Class.java line 818: >> >>> 816: * they represent, namely {@code boolean}, {@code byte}, >>> 817: * {@code char}, {@code short}, {@code int}, >>> 818: * {@code long}, {@code float}, and {@c