< prev index next >

jdk/test/javax/xml/ws/clientjar/TestWsImport.java

Print this page




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8016271 8026405
  27  * @summary wsimport -clientjar does not create portable jar on windows due to hardcoded '\'
  28  * @compile -addmods java.xml.ws TestWsImport.java
  29  * @run main/othervm -addmods java.xml.ws TestWsImport
  30  */
  31 
  32 import javax.xml.namespace.QName;
  33 import javax.xml.ws.Endpoint;
  34 import javax.xml.ws.Service;
  35 import java.io.InputStreamReader;
  36 import java.io.IOException;
  37 import java.io.BufferedReader;
  38 import java.io.File;
  39 import java.net.InetSocketAddress;
  40 import java.net.URL;
  41 import java.nio.file.Files;
  42 import java.nio.file.FileVisitResult;
  43 import java.nio.file.Path;
  44 import java.nio.file.Paths;
  45 import java.nio.file.SimpleFileVisitor;
  46 import java.nio.file.attribute.BasicFileAttributes;
  47 import static java.nio.file.FileVisitResult.*;
  48 import java.util.Enumeration;
  49 import java.util.jar.JarFile;




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8016271 8026405
  27  * @summary wsimport -clientjar does not create portable jar on windows due to hardcoded '\'
  28  * @modules java.xml.ws
  29  * @run main TestWsImport
  30  */
  31 
  32 import javax.xml.namespace.QName;
  33 import javax.xml.ws.Endpoint;
  34 import javax.xml.ws.Service;
  35 import java.io.InputStreamReader;
  36 import java.io.IOException;
  37 import java.io.BufferedReader;
  38 import java.io.File;
  39 import java.net.InetSocketAddress;
  40 import java.net.URL;
  41 import java.nio.file.Files;
  42 import java.nio.file.FileVisitResult;
  43 import java.nio.file.Path;
  44 import java.nio.file.Paths;
  45 import java.nio.file.SimpleFileVisitor;
  46 import java.nio.file.attribute.BasicFileAttributes;
  47 import static java.nio.file.FileVisitResult.*;
  48 import java.util.Enumeration;
  49 import java.util.jar.JarFile;


< prev index next >