RFR: 6441827: Documentation mentions nonexistent NullReferenceException
ExE Boss
duke at openjdk.org
Sat Apr 8 08:27:42 UTC 2023
On Sat, 8 Apr 2023 05:37:00 GMT, Jaikiran Pai <jpai at 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
More information about the core-libs-dev
mailing list