On Thu, 25 May 2023 07:37:27 GMT, Alan Bateman <[email protected]> wrote:
> I've moved the JBS issue to the right place and fix the description. > > The changes proposed here impact all platforms and will require discussion > and cleanup. If I understand the intent, if you create a DatagramSocket or > MulticastSocket that is bound to a specific local address then you want to > use that to determine if the underlying socket is IPv4 or IPv6. That might be > okay but multicasting normally means binding to the wildcard address so it > doesn't help. In any case, can you look at the isXXX methods defined by > sun.nio.ch.Net to see how it is handled on other platforms. Thanks @AlanBateman for fix JBS issue description. I will look at the isXXX methods defined by sun.nio.ch.Net. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14142#issuecomment-1562620701
