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

Joe Darcy darcy at openjdk.org
Tue May 30 16:32:57 UTC 2023


On Sat, 27 May 2023 22:31:28 GMT, Chen Liang <liach 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.

Sure; will fix in next push. Thanks.

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

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


More information about the core-libs-dev mailing list