Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer_Stub.java
38829 views
1
/*
2
* Copyright (c) 2002, 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
// Stub class generated by rmic, do not edit.
25
// Contents subject to change without notice.
26
27
public final class RestartLatecomer_Stub
28
extends java.rmi.server.RemoteStub
29
implements ActivateMe
30
{
31
private static final long serialVersionUID = 2;
32
33
private static java.lang.reflect.Method $method_callback_0;
34
private static java.lang.reflect.Method $method_ping_1;
35
private static java.lang.reflect.Method $method_shutdown_2;
36
37
static {
38
try {
39
$method_callback_0 = ActivateMe.class.getMethod("callback", new java.lang.Class[] {java.lang.String.class});
40
$method_ping_1 = ActivateMe.class.getMethod("ping", new java.lang.Class[] {});
41
$method_shutdown_2 = ActivateMe.class.getMethod("shutdown", new java.lang.Class[] {});
42
} catch (java.lang.NoSuchMethodException e) {
43
throw new java.lang.NoSuchMethodError(
44
"stub class initialization failed");
45
}
46
}
47
48
// constructors
49
public RestartLatecomer_Stub(java.rmi.server.RemoteRef ref) {
50
super(ref);
51
}
52
53
// methods from remote interfaces
54
55
// implementation of callback(String)
56
public void callback(java.lang.String $param_String_1)
57
throws java.rmi.RemoteException
58
{
59
try {
60
ref.invoke(this, $method_callback_0, new java.lang.Object[] {$param_String_1}, -1016900954059279373L);
61
} catch (java.lang.RuntimeException e) {
62
throw e;
63
} catch (java.rmi.RemoteException e) {
64
throw e;
65
} catch (java.lang.Exception e) {
66
throw new java.rmi.UnexpectedException("undeclared checked exception", e);
67
}
68
}
69
70
// implementation of ping()
71
public void ping()
72
throws java.rmi.RemoteException
73
{
74
try {
75
ref.invoke(this, $method_ping_1, null, 5866401369815527589L);
76
} catch (java.lang.RuntimeException e) {
77
throw e;
78
} catch (java.rmi.RemoteException e) {
79
throw e;
80
} catch (java.lang.Exception e) {
81
throw new java.rmi.UnexpectedException("undeclared checked exception", e);
82
}
83
}
84
85
// implementation of shutdown()
86
public void shutdown()
87
throws java.rmi.RemoteException
88
{
89
try {
90
ref.invoke(this, $method_shutdown_2, null, -7207851917985848402L);
91
} catch (java.lang.RuntimeException e) {
92
throw e;
93
} catch (java.rmi.RemoteException e) {
94
throw e;
95
} catch (java.lang.Exception e) {
96
throw new java.rmi.UnexpectedException("undeclared checked exception", e);
97
}
98
}
99
}
100
101