RFR: 6441827: Documentation mentions nonexistent NullReferenceException [v2]
Jaikiran Pai
jpai at openjdk.org
Sat Apr 8 13:00:42 UTC 2023
On Sat, 8 Apr 2023 08:24:54 GMT, ExE Boss <duke at openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> @link instead of @code
>
> 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
In this case I don't have a specific preference. I've updated the PR to use `@link` instead of `@code`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13399#discussion_r1161109315
More information about the core-libs-dev
mailing list