RFR: 8041621: java/net/Inet4Address/textToNumericFormat.java fails on Solaris and Mac

Chris Hegarty chris.hegarty at oracle.com
Mon Apr 28 12:49:22 UTC 2014


This change looks fine to me Michael.

-Chris.

On 28/04/14 11:59, Michael McMahon wrote:
> This fixes a recent test failure caused by the change
> https://bugs.openjdk.java.net/browse/JDK-8040747
> which added some new tests of the literal IP address parsing code. The
> new tests are valid with respect
> to the parser, but were failing on some platforms because when the
> parser returns an error, the implementation
> must defer to the OS resolver, which can have unpredictable results. The
> solution is to plug in a dummy
> name service which throws an exception any time it is called (which is
> what the test expects)
>
> http://cr.openjdk.java.net/~michaelm/8041621/webrev.1/
>
> Thanks,
> Michael


More information about the net-dev mailing list