Code review request: 7198205: CloseTest fails on mac

Alan Bateman Alan.Bateman at oracle.com
Thu Sep 13 01:20:26 PDT 2012


On 13/09/2012 09:10, Weijun Wang wrote:
> http://cr.openjdk.java.net/~weijun/7198205/webrev.00/
>
> The test hangs on this line
>
>    loadClass ("java.awt.Button", loader, true);
>
> It looks like no AWT class can be loaded in the testing environment. 
> The fix uses "java.sql.Array" instead. I guess it should be a class 
> inside JRE but also not loaded yet.
It looks like this test was excluded because of proxy settings rather 
than its usage of AWT (on Mac then using system proxy settings is 
enabled by default and I think this causes problems on machines where 
http connections to 127.0.0.1 are wrongly configured to go through the 
proxy). So no issue with removing the dependency on AWT, I'm just not 
sure that it was the reason it was excluded.

BTW: Just above it then looks like someone has put a security test in 
the jdk_net section of the file, I think that should be moved to 
jdk_security.

-Alan.



More information about the net-dev mailing list