On Sat, 8 Apr 2023 05:37:00 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

> Can I please get a review of this doc only change which fixes a trivial typo 
> in the documentation of `ObjectOutputStream.replaceObject()` method, as noted 
> in https://bugs.openjdk.org/browse/JDK-6441827?

src/java.base/share/classes/java/io/ObjectOutputStream.java line 588:

> 586:      *
> 587:      * <p>Null can be returned as the object to be substituted, but may 
> cause
> 588:      * {@code NullPointerException} in classes that contain references 
> to the

Maybe use `{@link …}` instead of `{@code …}`?
Suggestion:

     * {@link NullPointerException} in classes that contain references to the

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13399#discussion_r1161082846

Reply via email to