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

Joe Darcy darcy at openjdk.org
Wed Jun 21 00:08:13 UTC 2023


Correct misstatement that the Class object for a primitive type can only be be access via fields like java.lang.Integer.TYPE.

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

Commit messages:
 - Fix whitespace.
 - JDK-8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives

Changes: https://git.openjdk.org/jdk/pull/14574/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14574&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310267
  Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/14574.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14574/head:pull/14574

PR: https://git.openjdk.org/jdk/pull/14574


More information about the core-libs-dev mailing list