0N/A#
5266N/A# Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/A# @test
0N/A# @bug 4911536
0N/A# @summary This test verifies that the new implementation of rmic
0N/A# generates equivalent classes as the old implementation, for a set
0N/A# of sample input classes.
0N/A# @author Peter Jones
0N/A#
5551N/A# @library ../../../../../java/rmi/testlibrary
5551N/A#
5551N/A# @build TestLibrary
5551N/A# AgentServerImpl
5551N/A# AppleImpl
5551N/A# AppleUserImpl
5551N/A# ComputeServerImpl
5551N/A# CountServerImpl
5551N/A# DayTimeServerImpl
5551N/A# G1Impl
5551N/A# MyObjectImpl
5551N/A# NotActivatableServerImpl
5551N/A# OrangeEchoImpl
5551N/A# OrangeImpl
5551N/A# ServerImpl
5551N/A#
0N/A# @run shell run.sh
0N/A
0N/Aif [ "${TESTJAVA}" = "" ]
0N/Athen
0N/A echo "TESTJAVA not set. Test cannot execute. Failed."
0N/A exit 1
0N/Afi
0N/A
0N/Aset -ex
0N/A
0N/A#
0N/A# miscellaneous remote classes collected from other tests
0N/A#
0N/A
0N/Ash ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
0N/A AgentServerImpl \
0N/A AppleImpl \
0N/A AppleUserImpl \
0N/A ComputeServerImpl \
0N/A CountServerImpl \
0N/A DayTimeServerImpl \
0N/A G1Impl \
0N/A MyObjectImpl \
0N/A NotActivatableServerImpl \
0N/A OrangeEchoImpl \
0N/A OrangeImpl \
0N/A ServerImpl
0N/A
0N/A#
0N/A# remote classes in the J2SE implementation
0N/A#
0N/A
0N/Ash ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
0N/A sun.rmi.registry.RegistryImpl \
0N/A sun.rmi.server.Activation\$ActivationMonitorImpl \
0N/A sun.rmi.server.Activation\$ActivationSystemImpl \
0N/A sun.rmi.server.Activation\$ActivatorImpl \
0N/A java.rmi.activation.ActivationGroup