On Thu, 24 Jun 2021 14:22:21 GMT, Alan Bateman <al...@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