jdk/test/java/net/ProxySelector/B6737819.java
changeset 5165 5693cc1e95c6
parent 3855 653df3a7256d
child 5506 202f599c92aa
--- a/jdk/test/java/net/ProxySelector/B6737819.java	Thu Mar 25 12:07:42 2010 +0800
+++ b/jdk/test/java/net/ProxySelector/B6737819.java	Thu Mar 25 09:38:56 2010 +0000
@@ -23,9 +23,15 @@
 /*
  * @test
  * @bug 6737819
+ * @run main/othervm B6737819
  * @summary sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
  */
 
+/* Run in othervm mode since the test sets HTTP proxy system properties that
+ * are read once and cached by the protocol handler. A previous test using the
+ * HTTP handler may run and these system properties may be ignored for this test.
+ */
+
 import java.net.ProxySelector;
 import java.net.Proxy;
 import java.net.URI;