RFR 8166359/9, java/net/URLPermission/nstest/lookup.sh fails if proxy is set, since fix for JDK-8161016

Chris Hegarty chris.hegarty at oracle.com
Tue Sep 20 15:22:41 UTC 2016


> On 20 Sep 2016, at 13:57, Felix Yang <felix.yang at oracle.com> wrote:
> Hi all,
>     please review the following test fix. It explicitly disables proxy to make sure the test not affected by different environment configuration.
> Bug:
>     https://bugs.openjdk.java.net/browse/JDK-8166359
> Webrev: 
>      http://cr.openjdk.java.net/~xiaofeya/8166359/webrev.00/

Since the test is setting a system-wide proxy selector, should it run in
othervm mode ?

Also, it is not clear to me why the change from “test.src” to “user.dir”,
since the file being access is actual in the test source root, right?


More information about the net-dev mailing list