From yiming.wang at oracle.com Wed Mar 13 21:18:18 2013 From: yiming.wang at oracle.com (Eric Wang) Date: Thu, 14 Mar 2013 12:18:18 +0800 Subject: jmx-dev [PATCH] Review request for 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1) Message-ID: <51414F8A.4000107@oracle.com> Hi, Please help to review the fix for bug 7183800 . those tests failed on Ubuntu 12.04. http://cr.openjdk.java.net/~ewang/7183800/webrev.01/ Thanks, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jmx-dev/attachments/20130314/8ea29e98/attachment.html From Alan.Bateman at oracle.com Wed Mar 13 23:50:55 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 14 Mar 2013 06:50:55 +0000 Subject: jmx-dev [PATCH] Review request for 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1) In-Reply-To: <51414F8A.4000107@oracle.com> References: <51414F8A.4000107@oracle.com> Message-ID: <5141734F.8090605@oracle.com> On 14/03/2013 04:18, Eric Wang wrote: > Hi, > > Please help to review the fix for bug 7183800 > . those tests failed > on Ubuntu 12.04. > > http://cr.openjdk.java.net/~ewang/7183800/webrev.01/ > > Thanks, > Eric This looks good to me, I will push this for you today to jdk8/tl. -Alan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jmx-dev/attachments/20130314/043b00fe/attachment.html From Alan.Bateman at oracle.com Thu Mar 14 04:03:17 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 14 Mar 2013 11:03:17 +0000 Subject: jmx-dev [PATCH] Review request for 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1) In-Reply-To: <51419B84.4030602@oracle.com> References: <51414F8A.4000107@oracle.com> <5141734F.8090605@oracle.com> <51419B84.4030602@oracle.com> Message-ID: <5141AE75.3010309@oracle.com> On 14/03/2013 09:42, Chris Hegarty wrote: > Eric, Alan, > > This one is confusing me some what. I see the problem, but don't > understand why when sending to 127.0.1.1, the from address is > 127.0.0.1. Is this behavior specific to Linux, or simply that Linux > (12.04) just started to have this configuration as default. > > I guess this issue could have been resolved by explicitly binding the > channels to InetAddress.getLocalAddress either. Eric's patch is a workaround for the out-of-the-box configuration. I think Ubuntu have been using 127.0.1.1 for some time. An alternative would be to bind the listener to a specific address but that changes the test subtly for all environments. -Alan