Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/sun/rmi/rmic/newrmic/equivalence/run.sh
38867 views
#1# Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation.7#8# This code is distributed in the hope that it will be useful, but WITHOUT9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11# version 2 for more details (a copy is included in the LICENSE file that12# accompanied this code).13#14# You should have received a copy of the GNU General Public License version15# 2 along with this work; if not, write to the Free Software Foundation,16# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17#18# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19# or visit www.oracle.com if you need additional information or have any20# questions.21#2223# @test24# @bug 491153625# @summary This test verifies that the new implementation of rmic26# generates equivalent classes as the old implementation, for a set27# of sample input classes.28# @author Peter Jones29#30# @library ../../../../../java/rmi/testlibrary31#32# @build TestLibrary33# AgentServerImpl34# AppleImpl35# AppleUserImpl36# ComputeServerImpl37# CountServerImpl38# DayTimeServerImpl39# G1Impl40# MyObjectImpl41# NotActivatableServerImpl42# OrangeEchoImpl43# OrangeImpl44# ServerImpl45#46# @run shell run.sh4748if [ "${TESTJAVA}" = "" ]49then50echo "TESTJAVA not set. Test cannot execute. Failed."51exit 152fi5354set -ex5556#57# miscellaneous remote classes collected from other tests58#5960sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \61AgentServerImpl \62AppleImpl \63AppleUserImpl \64ComputeServerImpl \65CountServerImpl \66DayTimeServerImpl \67G1Impl \68MyObjectImpl \69NotActivatableServerImpl \70OrangeEchoImpl \71OrangeImpl \72ServerImpl7374#75# remote classes in the J2SE implementation76#7778sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \79sun.rmi.registry.RegistryImpl \80sun.rmi.server.Activation\$ActivationMonitorImpl \81sun.rmi.server.Activation\$ActivationSystemImpl \82sun.rmi.server.Activation\$ActivatorImpl \83java.rmi.activation.ActivationGroup848586