On Thu, 25 Feb 2021 16:59:07 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> Daniel Fuchs has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Fixed comment
>
> src/java.base/share/classes/java/net/InetSocketAddress.java line 326:
> 
>> 324:     /**
>> 325:      * Throws {@code InvalidObjectException}, always.
>> 326:      * @throws ObjectStreamException always
> 
> Is this correct? Seems to contradict each other.

`InvalidObjectException` is a subclass of `ObjectStreamException`.

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

PR: https://git.openjdk.java.net/jdk/pull/2715

Reply via email to