6441827: Documentation mentions nonexistent NullReferenceException

Reviewed-by: iris
This commit is contained in:
Jaikiran Pai 2023-04-09 01:30:47 +00:00
parent 9e20382311
commit ec9d816abf

View File

@ -585,7 +585,7 @@ public class ObjectOutputStream
* substituted or the original object.
*
* <p>Null can be returned as the object to be substituted, but may cause
* NullReferenceException in classes that contain references to the
* {@link NullPointerException} in classes that contain references to the
* original object since they may be expecting an object instead of
* null.
*