< prev index next >

jdk/test/sun/rmi/rmic/iiopCompilation/IIOPCompilation.java

Print this page




  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 /* @test
  25  * @bug 8065957
  26  * @library ../../../../java/rmi/testlibrary
  27  * @modules java.corba
  28  *          java.rmi/sun.rmi.registry
  29  *          java.rmi/sun.rmi.server
  30  *          java.rmi/sun.rmi.transport
  31  *          java.rmi/sun.rmi.transport.tcp
  32  * @build TestLibrary
  33  * @summary Compiles a PortableRemoteObject with rmic -iiop and ensures that stub and tie classes are generated.
  34  * @run main IIOPCompilation


  35  * @author Felix Yang
  36  *
  37  */
  38 import java.io.File;
  39 import java.io.FileNotFoundException;
  40 import java.io.IOException;
  41 import java.rmi.RemoteException;
  42 import java.util.Arrays;
  43 import java.util.List;
  44 
  45 import javax.rmi.PortableRemoteObject;
  46 
  47 public class IIOPCompilation {
  48 
  49     public static void main(String args[]) throws IOException, InterruptedException {
  50         IIOPCompilation test = new IIOPCompilation();
  51         test.doTest();
  52     }
  53 
  54     private void doTest() throws IOException, InterruptedException {




  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 /* @test
  25  * @bug 8065957
  26  * @library ../../../../java/rmi/testlibrary
  27  * @modules java.corba
  28  *          java.rmi/sun.rmi.registry
  29  *          java.rmi/sun.rmi.server
  30  *          java.rmi/sun.rmi.transport
  31  *          java.rmi/sun.rmi.transport.tcp
  32  * @build TestLibrary

  33  * @run main IIOPCompilation
  34  *
  35  * @summary Compiles a PortableRemoteObject with rmic -iiop and ensures that stub and tie classes are generated.
  36  * @author Felix Yang
  37  *
  38  */
  39 import java.io.File;
  40 import java.io.FileNotFoundException;
  41 import java.io.IOException;
  42 import java.rmi.RemoteException;
  43 import java.util.Arrays;
  44 import java.util.List;
  45 
  46 import javax.rmi.PortableRemoteObject;
  47 
  48 public class IIOPCompilation {
  49 
  50     public static void main(String args[]) throws IOException, InterruptedException {
  51         IIOPCompilation test = new IIOPCompilation();
  52         test.doTest();
  53     }
  54 
  55     private void doTest() throws IOException, InterruptedException {


< prev index next >