RFR: JDK-8308987: Update java.lang.Class to use javadoc snippets

Chen Liang liach at openjdk.org
Sat May 27 22:35:55 UTC 2023


On Sat, 27 May 2023 21:04:51 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Straightforward doc refactoring to use snippets.

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

> 354:      *
> 355:      * {@snippet lang="java" :
> 356:      *   Class<?> t = Class.forName("java.lang.Thread")

This should have a final semicolon, as it's already a variable declaration and initialization.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14194#discussion_r1208169192


More information about the core-libs-dev mailing list