< prev index next >
jdk/test/javax/xml/ws/publish/WSTest.java
Print this page
*** 24,35 ****
/*
* @test
* @bug 8146086
* @summary Publishing two webservices on same port fails with "java.net.BindException: Address already in use"
* @modules java.xml.ws
! * @compile -addmods java.xml.ws WSTest.java
! * @run main/othervm -addmods java.xml.ws WSTest
*/
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;
import java.net.ServerSocket;
--- 24,34 ----
/*
* @test
* @bug 8146086
* @summary Publishing two webservices on same port fails with "java.net.BindException: Address already in use"
* @modules java.xml.ws
! * @run main/othervm WSTest
*/
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;
import java.net.ServerSocket;
< prev index next >