Code review request: 7198205: CloseTest fails on mac

Alan Bateman Alan.Bateman at oracle.com
Thu Sep 13 01:46:02 PDT 2012


On 13/09/2012 09:41, Weijun Wang wrote:
>
> :
>
> It was added thru
>
>   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9de97594f062
>
> At first I thought this is the reason and the machine does shows an 
> environment variable http_proxy. However, I unset it and nothing 
> changed. After some println it seems the test only hangs at loading 
> the java.awt.Button class.
>
> Also, aren't
>
>   java.net.useSystemProxies=false
>   http.nonProxyHosts=localhost|127.*|[::1]
>
> default in net.properties? Shouldn't JRE on macosx honor them?
If you happy that this wasn't a proxy settings issue then I'm happy to 
see it removed from the exclude list.

Michael can jump in to exclude the proxy settings story on Mac but it's 
to keep compatibility with Apple's jdk6 where it uses the system's proxy 
settings by default (and folks on that platform except it to be 
integrated so that the settings are in one place).

>
>
> I put it there. It is a test in sun/security but the reason is net (No 
> PortUnreachableE on macosx). I thought putting it in the java_net 
> section would alert networking guys more. :)
Can you move it to the jdk_security section please, this file is 
organized by sections so that it's clear which tests are excluded for 
each area.

-Alan



More information about the net-dev mailing list