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

Alan Bateman alanb at openjdk.org
Sun May 28 18:53:56 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 426:

> 424:      * {@snippet lang="java" :
> 425:      *  Class.forName("Foo", true, this.getClass().getClassLoader())
> 426:      * }

Not important but there are at least 3 different indentation widths in the update. Does it look okay in the generated javadoc?

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

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


More information about the core-libs-dev mailing list