1 # 2 # Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # 5 # This code is free software; you can redistribute it and/or modify it 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. 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 # @test 25 # @ignore test is disabled, while further discussion on the rmic -Xnew feature 26 # takes place (c.f JDK-8146299, JDK-8145980). 27 # @bug 4911536 28 # @summary This test verifies that the new implementation of rmic 29 # generates equivalent classes as the old implementation, for a set 30 # of sample input classes. 31 # @author Peter Jones 32 # 33 # @library ../../../../../java/rmi/testlibrary 34 # 35 # @build TestLibrary 36 # AgentServerImpl 37 # AppleImpl 38 # AppleUserImpl 39 # ComputeServerImpl 40 # CountServerImpl 41 # DayTimeServerImpl 42 # G1Impl 43 # MyObjectImpl 44 # NotActivatableServerImpl 45 # OrangeEchoImpl 46 # OrangeImpl 47 # ServerImpl 48 # 49 # @run shell run.sh 50 51 if [ "${TESTJAVA}" = "" ] 52 then 53 echo "TESTJAVA not set. Test cannot execute. Failed." 54 exit 1 55 fi 56 57 set -ex 58 59 # 60 # miscellaneous remote classes collected from other tests 61 # 62 63 sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \ 64 AgentServerImpl \ 65 AppleImpl \ 66 AppleUserImpl \ 67 ComputeServerImpl \ 68 CountServerImpl \ 69 DayTimeServerImpl \ 70 G1Impl \ 71 MyObjectImpl \ 72 NotActivatableServerImpl \ 73 OrangeEchoImpl \ 74 OrangeImpl \ 75 ServerImpl 76 77 # 78 # remote classes in the J2SE implementation 79 # 80 81 sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \ 82 sun.rmi.registry.RegistryImpl \ 83 sun.rmi.server.Activation\$ActivationMonitorImpl \ 84 sun.rmi.server.Activation\$ActivationSystemImpl \ 85 sun.rmi.server.Activation\$ActivatorImpl \ 86 java.rmi.activation.ActivationGroup