Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/j9vm/j7verify.c
5985 views
1
/*******************************************************************************
2
* Copyright (c) 2002, 2014 IBM Corp. and others
3
*
4
* This program and the accompanying materials are made available under
5
* the terms of the Eclipse Public License 2.0 which accompanies this
6
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
7
* or the Apache License, Version 2.0 which accompanies this distribution and
8
* is available at https://www.apache.org/licenses/LICENSE-2.0.
9
*
10
* This Source Code may also be made available under the following
11
* Secondary Licenses when the conditions for such availability set
12
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
13
* General Public License, version 2 with the GNU Classpath
14
* Exception [1] and GNU General Public License, version 2 with the
15
* OpenJDK Assembly Exception [2].
16
*
17
* [1] https://www.gnu.org/software/classpath/license.html
18
* [2] http://openjdk.java.net/legal/assembly-exception.html
19
*
20
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
21
*******************************************************************************/
22
23
/**
24
* @brief This file contains implementations of the Sun VM interface (JVM_ functions)
25
* needed by the verify dll.
26
*/
27
28
#include <stdlib.h>
29
#include <assert.h>
30
#include "j9.h"
31
#include "sunvmi_api.h"
32
33
34
35
36
jobject JNICALL
37
JVM_GetMethodIxLocalsCount(jint arg0, jint arg1, jint arg2)
38
{
39
assert(!"JVM_GetMethodIxLocalsCount() stubbed!");
40
return NULL;
41
}
42
43
44
45
jobject JNICALL
46
JVM_GetCPMethodNameUTF(jint arg0, jint arg1, jint arg2)
47
{
48
assert(!"JVM_GetCPMethodNameUTF() stubbed!");
49
return NULL;
50
}
51
52
53
54
jobject JNICALL
55
JVM_GetMethodIxExceptionTableEntry(jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
56
{
57
assert(!"JVM_GetMethodIxExceptionTableEntry() stubbed!");
58
return NULL;
59
}
60
61
62
63
jobject JNICALL
64
JVM_GetMethodIxExceptionTableLength(jint arg0, jint arg1, jint arg2)
65
{
66
assert(!"JVM_GetMethodIxExceptionTableLength() stubbed!");
67
return NULL;
68
}
69
70
71
72
jobject JNICALL
73
JVM_GetMethodIxMaxStack(jint arg0, jint arg1, jint arg2)
74
{
75
assert(!"JVM_GetMethodIxMaxStack() stubbed!");
76
return NULL;
77
}
78
79
80
81
jobject JNICALL
82
JVM_GetMethodIxExceptionIndexes(jint arg0, jint arg1, jint arg2, jint arg3)
83
{
84
assert(!"JVM_GetMethodIxExceptionIndexes() stubbed!");
85
return NULL;
86
}
87
88
89
90
jobject JNICALL
91
JVM_GetCPFieldSignatureUTF(jint arg0, jint arg1, jint arg2)
92
{
93
assert(!"JVM_GetCPFieldSignatureUTF() stubbed!");
94
return NULL;
95
}
96
97
98
99
jobject JNICALL
100
JVM_GetClassMethodsCount(jint arg0, jint arg1)
101
{
102
assert(!"JVM_GetClassMethodsCount() stubbed!");
103
return NULL;
104
}
105
106
107
108
jobject JNICALL
109
JVM_GetClassFieldsCount(jint arg0, jint arg1)
110
{
111
assert(!"JVM_GetClassFieldsCount() stubbed!");
112
return NULL;
113
}
114
115
116
117
jobject JNICALL
118
JVM_GetClassCPTypes(jint arg0, jint arg1, jint arg2)
119
{
120
assert(!"JVM_GetClassCPTypes() stubbed!");
121
return NULL;
122
}
123
124
125
126
jobject JNICALL
127
JVM_GetClassCPEntriesCount(jint arg0, jint arg1)
128
{
129
assert(!"JVM_GetClassCPEntriesCount() stubbed!");
130
return NULL;
131
}
132
133
134
135
jobject JNICALL
136
JVM_GetCPMethodSignatureUTF(jint arg0, jint arg1, jint arg2)
137
{
138
assert(!"JVM_GetCPMethodSignatureUTF() stubbed!");
139
return NULL;
140
}
141
142
143
144
jobject JNICALL
145
JVM_GetCPFieldModifiers(jint arg0, jint arg1, jint arg2, jint arg3)
146
{
147
assert(!"JVM_GetCPFieldModifiers() stubbed!");
148
return NULL;
149
}
150
151
152
153
jobject JNICALL
154
JVM_GetCPMethodModifiers(jint arg0, jint arg1, jint arg2, jint arg3)
155
{
156
assert(!"JVM_GetCPMethodModifiers() stubbed!");
157
return NULL;
158
}
159
160
161
162
jobject JNICALL
163
JVM_IsSameClassPackage(jint arg0, jint arg1, jint arg2)
164
{
165
assert(!"JVM_IsSameClassPackage() stubbed!");
166
return NULL;
167
}
168
169
170
171
jobject JNICALL
172
JVM_GetCPMethodClassNameUTF(jint arg0, jint arg1, jint arg2)
173
{
174
assert(!"JVM_GetCPMethodClassNameUTF() stubbed!");
175
return NULL;
176
}
177
178
179
180
jobject JNICALL
181
JVM_GetCPFieldClassNameUTF(jint arg0, jint arg1, jint arg2)
182
{
183
assert(!"JVM_GetCPFieldClassNameUTF() stubbed!");
184
return NULL;
185
}
186
187
188
189
jobject JNICALL
190
JVM_GetCPClassNameUTF(jint arg0, jint arg1, jint arg2)
191
{
192
assert(!"JVM_GetCPClassNameUTF() stubbed!");
193
return NULL;
194
}
195
196
197
198
jobject JNICALL
199
JVM_GetMethodIxArgsSize(jint arg0, jint arg1, jint arg2)
200
{
201
assert(!"JVM_GetMethodIxArgsSize() stubbed!");
202
return NULL;
203
}
204
205
206
207
jobject JNICALL
208
JVM_GetMethodIxModifiers(jint arg0, jint arg1, jint arg2)
209
{
210
assert(!"JVM_GetMethodIxModifiers() stubbed!");
211
return NULL;
212
}
213
214
215
216
jobject JNICALL
217
JVM_IsConstructorIx(jint arg0, jint arg1, jint arg2)
218
{
219
assert(!"JVM_IsConstructorIx() stubbed!");
220
return NULL;
221
}
222
223
224
225
jobject JNICALL
226
JVM_GetMethodIxByteCodeLength(jint arg0, jint arg1, jint arg2)
227
{
228
assert(!"JVM_GetMethodIxByteCodeLength() stubbed!");
229
return NULL;
230
}
231
232
233
234
jobject JNICALL
235
JVM_GetMethodIxByteCode(jint arg0, jint arg1, jint arg2, jint arg3)
236
{
237
assert(!"JVM_GetMethodIxByteCode() stubbed!");
238
return NULL;
239
}
240
241
242
243
jobject JNICALL
244
JVM_GetFieldIxModifiers(jint arg0, jint arg1, jint arg2)
245
{
246
assert(!"JVM_GetFieldIxModifiers() stubbed!");
247
return NULL;
248
}
249
250
251
252
jobject JNICALL
253
JVM_FindClassFromClass(jint arg0, jint arg1, jint arg2, jint arg3)
254
{
255
assert(!"JVM_FindClassFromClass() stubbed!");
256
return NULL;
257
}
258
259
260
261
jobject JNICALL
262
JVM_GetClassNameUTF(jint arg0, jint arg1)
263
{
264
assert(!"JVM_GetClassNameUTF() stubbed!");
265
return NULL;
266
}
267
268
269
270
jobject JNICALL
271
JVM_GetMethodIxNameUTF(jint arg0, jint arg1, jint arg2)
272
{
273
assert(!"JVM_GetMethodIxNameUTF() stubbed!");
274
return NULL;
275
}
276
277
278
279
jobject JNICALL
280
JVM_GetMethodIxSignatureUTF(jint arg0, jint arg1, jint arg2)
281
{
282
assert(!"JVM_GetMethodIxSignatureUTF() stubbed!");
283
return NULL;
284
}
285
286
287
288
jobject JNICALL
289
JVM_GetMethodIxExceptionsCount(jint arg0, jint arg1, jint arg2)
290
{
291
assert(!"JVM_GetMethodIxExceptionsCount() stubbed!");
292
return NULL;
293
}
294
295
296
297
jobject JNICALL
298
JVM_ReleaseUTF(jint arg0)
299
{
300
assert(!"JVM_ReleaseUTF() stubbed!");
301
return NULL;
302
}
303
304
305
306