Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/sun/rmi/rmic/newrmic/equivalence/run.sh
38867 views
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
# @bug 4911536
26
# @summary This test verifies that the new implementation of rmic
27
# generates equivalent classes as the old implementation, for a set
28
# of sample input classes.
29
# @author Peter Jones
30
#
31
# @library ../../../../../java/rmi/testlibrary
32
#
33
# @build TestLibrary
34
# AgentServerImpl
35
# AppleImpl
36
# AppleUserImpl
37
# ComputeServerImpl
38
# CountServerImpl
39
# DayTimeServerImpl
40
# G1Impl
41
# MyObjectImpl
42
# NotActivatableServerImpl
43
# OrangeEchoImpl
44
# OrangeImpl
45
# ServerImpl
46
#
47
# @run shell run.sh
48
49
if [ "${TESTJAVA}" = "" ]
50
then
51
echo "TESTJAVA not set. Test cannot execute. Failed."
52
exit 1
53
fi
54
55
set -ex
56
57
#
58
# miscellaneous remote classes collected from other tests
59
#
60
61
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
62
AgentServerImpl \
63
AppleImpl \
64
AppleUserImpl \
65
ComputeServerImpl \
66
CountServerImpl \
67
DayTimeServerImpl \
68
G1Impl \
69
MyObjectImpl \
70
NotActivatableServerImpl \
71
OrangeEchoImpl \
72
OrangeImpl \
73
ServerImpl
74
75
#
76
# remote classes in the J2SE implementation
77
#
78
79
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
80
sun.rmi.registry.RegistryImpl \
81
sun.rmi.server.Activation\$ActivationMonitorImpl \
82
sun.rmi.server.Activation\$ActivationSystemImpl \
83
sun.rmi.server.Activation\$ActivatorImpl \
84
java.rmi.activation.ActivationGroup
85
86