Re: [openjdk-x] Bind to a multicast address fails

2018-09-14 Thread David Lloyd
Fantastic! I'm glad to hear it. On Fri, Sep 14, 2018 at 1:39 AM Andre Naujoks wrote: > > On 9/10/18 10:36 AM, Andre Naujoks wrote: > > On 9/8/18 11:49 AM, Andre Naujoks wrote: > >> On 9/7/18 6:08 PM, David Lloyd wrote: > >>> On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: > On 9/7/18 1:

Re: [openjdk-x] Bind to a multicast address fails

2018-09-13 Thread Andre Naujoks
On 9/10/18 10:36 AM, Andre Naujoks wrote: > On 9/8/18 11:49 AM, Andre Naujoks wrote: >> On 9/7/18 6:08 PM, David Lloyd wrote: >>> On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: On 9/7/18 1:15 PM, Alan Bateman wrote: > On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: >>

Re: [openjdk-x] Bind to a multicast address fails

2018-09-12 Thread Chris Hegarty
Vyom, On 12/09/18 10:09, vyom tewari wrote: Hi Alan,Chris, I imported the Andre's patch and our all existing internal tests are clean. Ok, great. This is as expected. Next step would be to create a few tests to verify the change. Maybe look as some existing tests that use join, and refactor

Re: [openjdk-x] Bind to a multicast address fails

2018-09-12 Thread Alan Bateman
On 12/09/2018 10:09, vyom tewari wrote: Hi Alan,Chris, I imported the Andre's patch and our all existing internal tests are clean. Good to hear! Next step will be to add or extend existing tests to cover binding to both IPv4 and IPv6 multicast addresses. The Promiscuous tests (one for Mu

Re: [openjdk-x] Bind to a multicast address fails

2018-09-12 Thread vyom tewari
Hi Alan,Chris, I imported the Andre's patch and our all existing internal tests are clean. Thanks, Vyom On Monday 10 September 2018 10:58 PM, Chris Hegarty wrote: On 10/09/18 15:35, Chris Hegarty wrote: ... Maybe the native implementation of these methods can be updated to accept a scope,

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread Chris Hegarty
On 10/09/18 15:35, Chris Hegarty wrote: ... Maybe the native implementation of these methods can be updated to accept a scope, rather than poking around in the InetSocketAddress from JNI code. Rolling back on this comment. I overlooked the fact that the additional checks are multicast-specif

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread Chris Hegarty
On 10/09/18 15:09, Alan Bateman wrote: On 10/09/2018 14:53, Chris Hegarty wrote: On 10/09/18 10:22, vyom tewari wrote: ... Hi Andre, i will apply your patch run our all network tests. I will update once i will have result. The patch in question is in the description of https://bugs.open

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread Alan Bateman
On 10/09/2018 14:53, Chris Hegarty wrote: On 10/09/18 10:22, vyom tewari wrote: ... Hi Andre, i will apply your patch run our all network tests. I will update once i will have result. The patch in question is in the description of https://bugs.openjdk.java.net/browse/JDK-8210493, correct?

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread Chris Hegarty
On 10/09/18 10:22, vyom tewari wrote: ... Hi Andre, i will apply your patch run our all network tests. I will update once i will have result. The patch in question is in the description of https://bugs.openjdk.java.net/browse/JDK-8210493, correct? I'm posting it in this thread for referen

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread vyom tewari
On Monday 10 September 2018 12:28 PM, Andre Naujoks wrote: On 9/9/18 9:16 AM, Alan Bateman wrote: On 07/09/2018 13:22, Andre Naujoks wrote: : I have not tried joining IPv4 groups on an IPv6 socket through java, since we do not use IPv4 at all in this particular environment. I have tried sett

Re: [openjdk-x] Bind to a multicast address fails

2018-09-10 Thread Andre Naujoks
On 9/8/18 11:49 AM, Andre Naujoks wrote: > On 9/7/18 6:08 PM, David Lloyd wrote: >> On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: >>> On 9/7/18 1:15 PM, Alan Bateman wrote: On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: > > Hello, > > it seems one of our external

Re: [openjdk-x] Bind to a multicast address fails

2018-09-09 Thread Andre Naujoks
On 9/9/18 9:16 AM, Alan Bateman wrote: > On 07/09/2018 13:22, Andre Naujoks wrote: >> : >> I have not tried joining IPv4 groups on an IPv6 socket through java, >> since we do not use IPv4 at all in this particular environment. I have >> tried setting IP_MULTICAST_ALL to 0 in the IPv6 scenario (in a

Re: [openjdk-x] Bind to a multicast address fails

2018-09-09 Thread Alan Bateman
On 07/09/2018 13:22, Andre Naujoks wrote: : I have not tried joining IPv4 groups on an IPv6 socket through java, since we do not use IPv4 at all in this particular environment. I have tried setting IP_MULTICAST_ALL to 0 in the IPv6 scenario (in a C++ project), hoping it would help, but it did not

Re: [openjdk-x] Bind to a multicast address fails

2018-09-08 Thread Andre Naujoks
On 9/7/18 6:08 PM, David Lloyd wrote: > On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: >> On 9/7/18 1:15 PM, Alan Bateman wrote: >>> On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: Hello, it seems one of our external developers (Andre Naujoks, CC) found a bug w

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread David Lloyd
On Fri, Sep 7, 2018 at 11:08 AM David Lloyd wrote: > On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: > > On 9/7/18 1:15 PM, Alan Bateman wrote: > > > On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: > > >> > > >> Hello, > > >> > > >> it seems one of our external developers (Andre Naujok

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread David Lloyd
On Fri, Sep 7, 2018 at 6:56 AM Andre Naujoks wrote: > On 9/7/18 1:15 PM, Alan Bateman wrote: > > On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: > >> > >> Hello, > >> > >> it seems one of our external developers (Andre Naujoks, CC) found a > >> bug while binding a IPv6 multicast UDP-socket

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread Andre Naujoks
On 9/7/18 1:57 PM, Alan Bateman wrote: > On 07/09/2018 12:33, Andre Naujoks wrote: >> : >> Hi Alan. >> >> First of all, thank you for the quick reply. I was not aware, that there >> was actually a bug opened for that issue. >> >> The join is not the problem at this point. We need to bind the socket

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread Alan Bateman
On 07/09/2018 12:33, Andre Naujoks wrote: : Hi Alan. First of all, thank you for the quick reply. I was not aware, that there was actually a bug opened for that issue. The join is not the problem at this point. We need to bind the socket to the address to avoid receiving traffic from all multic

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread Andre Naujoks
On 9/7/18 1:15 PM, Alan Bateman wrote: > On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: >> >> Hello, >> >> it seems one of our external developers (Andre Naujoks, CC) found a >> bug while binding a IPv6 multicast UDP-socket for one of our projects. >> >>   >> >> Since this seems to be a fun

Re: [openjdk-x] Bind to a multicast address fails

2018-09-07 Thread Alan Bateman
On 07/09/2018 10:49, Decke, Hendrik (K-GERFA/A) wrote: Hello, it seems one of our external developers (Andre Naujoks, CC) found a bug while binding a IPv6 multicast UDP-socket for one of our projects. Since this seems to be a fundamental bug (from our perspective), we address this directly

[openjdk-x] Bind to a multicast address fails

2018-09-07 Thread Decke, Hendrik (K-GERFA/A)
Hello, it seems one of our external developers (Andre Naujoks, CC) found a bug while binding a IPv6 multicast UDP-socket for one of our projects. Since this seems to be a fundamental bug (from our perspective), we address this directly to this mailing list. (reproducible in OpenJDK 8-11, Windows