RFR: 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation [v4]
Patrick Concannon
pconcannon at openjdk.java.net
Fri Jun 25 11:48:53 UTC 2021
On Fri, 25 Jun 2021 11:37:50 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> src/java.base/share/classes/java/net/DatagramSocket.java line 1398:
>>
>>> 1396: DatagramSocketImpl impl = factory.createDatagramSocketImpl();
>>> 1397: Objects.requireNonNull(impl,
>>> 1398: "Implementation returned by installed DatagramSocketFactoryImpl is null");
>>
>> I think you mean "DatagramSocketImplFactory" instead of "DatagramSocketFactoryImpl" here.
>
> Yes - good catch! I've been bitten by this before too :-)
> https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/net/DatagramSocketImplFactory.html
Well spotted. Thanks Alan. Change made in commit 686b436
-------------
PR: https://git.openjdk.java.net/jdk/pull/4574
More information about the serviceability-dev
mailing list