8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs
authorcoffeys
Wed, 23 Oct 2013 20:51:14 +0100
changeset 21351 3509dd1d1cab
parent 21350 c1a8ffa5e767
child 21352 0372edc9a995
8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs Reviewed-by: chegar
jdk/test/javax/xml/ws/clientjar/TestWsImport.java
--- a/jdk/test/javax/xml/ws/clientjar/TestWsImport.java	Wed Oct 23 11:36:24 2013 -0700
+++ b/jdk/test/javax/xml/ws/clientjar/TestWsImport.java	Wed Oct 23 20:51:14 2013 +0100
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8016271
+ * @bug 8016271 8026405
  * @summary wsimport -clientjar does not create portable jar on windows due to hardcoded '\'
  * @run main/othervm TestWsImport
  */
@@ -77,14 +77,14 @@
             String address = "http://localhost:" + port + "/hello";
 
             Service service = Service.create(new URL(address + "?wsdl"),
-                new QName("http://test/jaxws/sample/",
-                "TestService"));
+                new QName("http://test/jaxws/sample/", "TestService"));
 
             String[] wsargs = {
                 wsimport,
                 "-p",
                 "wstest",
                 "-J-Djavax.xml.accessExternalSchema=all",
+                "-J-Dcom.sun.tools.internal.ws.Invoker.noSystemProxies=true",
                 address + "?wsdl",
                 "-clientjar",
                 "wsjar.jar"