RFR: 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation [v3]
Daniel Fuchs
dfuchs at openjdk.java.net
Thu Jun 24 15:11:27 UTC 2021
On Thu, 24 Jun 2021 14:22:21 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I've created an issue to track this: https://bugs.openjdk.java.net/browse/JDK-8269288
>
>> I've created an issue to track this: https://bugs.openjdk.java.net/browse/JDK-8269288
>
> Thanks. So are you keeping the Objects.requireNonNull here? If so then it should probably be the 2-arg version so that the message is clear that the custom DatagramSocketFactory returned null, otherwise it will look like a DS bug.
@AlanBateman Ah - good idea - something like "implementation returned by installed DatagramSocketFactoryImpl is null"?
Maybe we could add the name of the concrete DatagramSocketFactoryImpl class too?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4574
More information about the serviceability-dev
mailing list