author | sla |
Mon, 10 Feb 2014 13:00:50 +0100 | |
changeset 22946 | 0a1379d15976 |
parent 22939 | fc08f20ea32f |
child 22951 | 5fd21112b2b6 |
permissions | -rw-r--r-- |
12892 | 1 |
# |
22266
d70900404b67
8029007: Check src/share/native/sun/misc code for JNI pending exceptions
dxu
parents:
21805
diff
changeset
|
2 |
# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
12892 | 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. Oracle designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
# Define public interface. |
|
27 |
||
28 |
SUNWprivate_1.1 { |
|
29 |
global: |
|
30 |
JNI_OnLoad; |
|
31 |
JNU_ThrowNoSuchMethodException; |
|
32 |
JNU_CallStaticMethodByName; |
|
33 |
JNU_CallMethodByName; |
|
34 |
JNU_CallMethodByNameV; |
|
35 |
JNU_ClassClass; |
|
36 |
JNU_ClassObject; |
|
37 |
JNU_ClassString; |
|
38 |
JNU_ClassThrowable; |
|
39 |
JNU_CopyObjectArray; |
|
40 |
JNU_Equals; |
|
41 |
JNU_GetEnv; |
|
42 |
JNU_GetFieldByName; |
|
43 |
JNU_GetStaticFieldByName; |
|
44 |
JNU_GetStringPlatformChars; |
|
45 |
JNU_IsInstanceOfByName; |
|
46 |
JNU_MonitorWait; |
|
47 |
JNU_NewObjectByName; |
|
48 |
JNU_NewStringPlatform; |
|
49 |
JNU_Notify; |
|
50 |
JNU_NotifyAll; |
|
51 |
JNU_PrintClass; |
|
52 |
JNU_PrintString; |
|
53 |
JNU_ReleaseStringPlatformChars; |
|
54 |
JNU_SetFieldByName; |
|
55 |
JNU_SetStaticFieldByName; |
|
56 |
JNU_ThrowArrayIndexOutOfBoundsException; |
|
57 |
JNU_ThrowByName; |
|
58 |
JNU_ThrowByNameWithLastError; |
|
59 |
JNU_ThrowClassNotFoundException; |
|
60 |
JNU_ThrowIllegalAccessError; |
|
61 |
JNU_ThrowIllegalAccessException; |
|
62 |
JNU_ThrowIllegalArgumentException; |
|
63 |
JNU_ThrowInstantiationException; |
|
64 |
JNU_ThrowInternalError; |
|
65 |
JNU_ThrowIOException; |
|
66 |
JNU_ThrowIOExceptionWithLastError; |
|
67 |
JNU_ThrowNoSuchFieldError; |
|
68 |
JNU_ThrowNoSuchFieldException; |
|
69 |
JNU_ThrowNoSuchMethodError; |
|
70 |
JNU_ThrowNullPointerException; |
|
71 |
JNU_ThrowNumberFormatException; |
|
72 |
JNU_ThrowOutOfMemoryError; |
|
73 |
JNU_ThrowStringIndexOutOfBoundsException; |
|
74 |
JNU_ToString; |
|
75 |
||
76 |
Java_java_io_FileDescriptor_initIDs; |
|
77 |
Java_java_io_FileDescriptor_sync; |
|
78 |
Java_java_io_FileInputStream_available; |
|
79 |
Java_java_io_FileInputStream_close0; |
|
80 |
Java_java_io_FileInputStream_initIDs; |
|
81 |
Java_java_io_FileInputStream_open; |
|
22946
0a1379d15976
8033911: Simplify instrumentation of FileInputStream and RandomAccessFile
sla
parents:
22939
diff
changeset
|
82 |
Java_java_io_FileInputStream_read0; |
12892 | 83 |
Java_java_io_FileInputStream_readBytes; |
84 |
Java_java_io_FileInputStream_skip; |
|
85 |
Java_java_io_FileOutputStream_close0; |
|
86 |
Java_java_io_FileOutputStream_initIDs; |
|
87 |
Java_java_io_FileOutputStream_open; |
|
88 |
Java_java_io_FileOutputStream_write; |
|
89 |
Java_java_io_FileOutputStream_writeBytes; |
|
90 |
Java_java_io_ObjectInputStream_bytesToDoubles; |
|
91 |
Java_java_io_ObjectInputStream_bytesToFloats; |
|
92 |
Java_java_io_ObjectOutputStream_doublesToBytes; |
|
93 |
Java_java_io_ObjectOutputStream_floatsToBytes; |
|
94 |
Java_java_io_ObjectStreamClass_hasStaticInitializer; |
|
95 |
Java_java_io_ObjectStreamClass_initNative; |
|
96 |
Java_java_io_RandomAccessFile_close0; |
|
97 |
Java_java_io_RandomAccessFile_getFilePointer; |
|
98 |
Java_java_io_RandomAccessFile_initIDs; |
|
99 |
Java_java_io_RandomAccessFile_length; |
|
100 |
Java_java_io_RandomAccessFile_open; |
|
22946
0a1379d15976
8033911: Simplify instrumentation of FileInputStream and RandomAccessFile
sla
parents:
22939
diff
changeset
|
101 |
Java_java_io_RandomAccessFile_read0; |
12892 | 102 |
Java_java_io_RandomAccessFile_readBytes; |
19438
7de6ae3cecad
8023203: Wrap RandomAccessFile.seek native method into a Java helper method
dxu
parents:
16906
diff
changeset
|
103 |
Java_java_io_RandomAccessFile_seek0; |
12892 | 104 |
Java_java_io_RandomAccessFile_setLength; |
22946
0a1379d15976
8033911: Simplify instrumentation of FileInputStream and RandomAccessFile
sla
parents:
22939
diff
changeset
|
105 |
Java_java_io_RandomAccessFile_write0; |
12892 | 106 |
Java_java_io_RandomAccessFile_writeBytes; |
107 |
Java_java_io_UnixFileSystem_canonicalize0; |
|
108 |
Java_java_io_UnixFileSystem_checkAccess; |
|
109 |
Java_java_io_UnixFileSystem_createDirectory; |
|
110 |
Java_java_io_UnixFileSystem_createFileExclusively; |
|
111 |
Java_java_io_UnixFileSystem_delete0; |
|
112 |
Java_java_io_UnixFileSystem_getBooleanAttributes0; |
|
113 |
Java_java_io_UnixFileSystem_getLastModifiedTime; |
|
114 |
Java_java_io_UnixFileSystem_getLength; |
|
115 |
Java_java_io_UnixFileSystem_getSpace; |
|
116 |
Java_java_io_UnixFileSystem_initIDs; |
|
117 |
Java_java_io_UnixFileSystem_list; |
|
118 |
Java_java_io_UnixFileSystem_rename0; |
|
119 |
Java_java_io_UnixFileSystem_setLastModifiedTime; |
|
120 |
Java_java_io_UnixFileSystem_setReadOnly; |
|
121 |
Java_java_io_UnixFileSystem_setPermission; |
|
122 |
Java_java_lang_Class_forName0; |
|
123 |
Java_java_lang_Class_getPrimitiveClass; |
|
124 |
Java_java_lang_Class_isAssignableFrom; |
|
125 |
Java_java_lang_Class_isInstance; |
|
126 |
Java_java_lang_Class_registerNatives; |
|
127 |
Java_java_lang_ClassLoader_findBootstrapClass; |
|
128 |
Java_java_lang_ClassLoader_defineClass0; |
|
129 |
Java_java_lang_ClassLoader_defineClass1; |
|
130 |
Java_java_lang_ClassLoader_defineClass2; |
|
131 |
Java_java_lang_ClassLoader_findLoadedClass0; |
|
132 |
Java_java_lang_ClassLoader_resolveClass0; |
|
133 |
Java_java_lang_ClassLoader_00024NativeLibrary_find; |
|
134 |
Java_java_lang_ClassLoader_00024NativeLibrary_load; |
|
135 |
Java_java_lang_ClassLoader_00024NativeLibrary_unload; |
|
16479
d845c18d13f2
8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
alanb
parents:
15294
diff
changeset
|
136 |
Java_java_lang_ClassLoader_00024NativeLibrary_findBuiltinLib; |
12892 | 137 |
Java_java_lang_ClassLoader_registerNatives; |
138 |
Java_java_lang_Compiler_registerNatives; |
|
139 |
Java_java_lang_Double_longBitsToDouble; |
|
140 |
Java_java_lang_Double_doubleToRawLongBits; |
|
141 |
Java_java_lang_reflect_Proxy_defineClass0; |
|
142 |
Java_java_lang_Shutdown_runAllFinalizers; |
|
143 |
Java_java_lang_Float_intBitsToFloat; |
|
144 |
Java_java_lang_Float_floatToRawIntBits; |
|
145 |
Java_java_lang_StrictMath_IEEEremainder; |
|
146 |
Java_java_lang_StrictMath_acos; |
|
147 |
Java_java_lang_StrictMath_asin; |
|
148 |
Java_java_lang_StrictMath_atan; |
|
149 |
Java_java_lang_StrictMath_atan2; |
|
150 |
Java_java_lang_StrictMath_cos; |
|
151 |
Java_java_lang_StrictMath_exp; |
|
152 |
Java_java_lang_StrictMath_log; |
|
153 |
Java_java_lang_StrictMath_log10; |
|
154 |
Java_java_lang_StrictMath_pow; |
|
155 |
Java_java_lang_StrictMath_sin; |
|
156 |
Java_java_lang_StrictMath_sqrt; |
|
157 |
Java_java_lang_StrictMath_cbrt; |
|
158 |
Java_java_lang_StrictMath_tan; |
|
159 |
Java_java_lang_StrictMath_cosh; |
|
160 |
Java_java_lang_StrictMath_sinh; |
|
161 |
Java_java_lang_StrictMath_tanh; |
|
162 |
Java_java_lang_StrictMath_hypot; |
|
163 |
Java_java_lang_StrictMath_log1p; |
|
164 |
Java_java_lang_StrictMath_expm1; |
|
165 |
Java_java_lang_Object_getClass; |
|
166 |
Java_java_lang_Object_registerNatives; |
|
167 |
Java_java_lang_Package_getSystemPackage0; |
|
168 |
Java_java_lang_Package_getSystemPackages0; |
|
169 |
Java_java_lang_ProcessEnvironment_environ; |
|
170 |
Java_java_lang_reflect_Array_get; |
|
171 |
Java_java_lang_reflect_Array_getBoolean; |
|
172 |
Java_java_lang_reflect_Array_getByte; |
|
173 |
Java_java_lang_reflect_Array_getChar; |
|
174 |
Java_java_lang_reflect_Array_getDouble; |
|
175 |
Java_java_lang_reflect_Array_getFloat; |
|
176 |
Java_java_lang_reflect_Array_getInt; |
|
177 |
Java_java_lang_reflect_Array_getLength; |
|
178 |
Java_java_lang_reflect_Array_getLong; |
|
179 |
Java_java_lang_reflect_Array_getShort; |
|
180 |
Java_java_lang_reflect_Array_multiNewArray; |
|
181 |
Java_java_lang_reflect_Array_newArray; |
|
182 |
Java_java_lang_reflect_Array_set; |
|
183 |
Java_java_lang_reflect_Array_setBoolean; |
|
184 |
Java_java_lang_reflect_Array_setByte; |
|
185 |
Java_java_lang_reflect_Array_setChar; |
|
186 |
Java_java_lang_reflect_Array_setDouble; |
|
187 |
Java_java_lang_reflect_Array_setFloat; |
|
188 |
Java_java_lang_reflect_Array_setInt; |
|
189 |
Java_java_lang_reflect_Array_setLong; |
|
190 |
Java_java_lang_reflect_Array_setShort; |
|
15294
df55735ea03c
8004729: Add java.lang.reflect.Parameter and related changes for parameter reflection
robm
parents:
14324
diff
changeset
|
191 |
Java_java_lang_reflect_Executable_getParameters0; |
20482
6dc1f81f522c
8009719: core reflection should get type annotation data from the VM lazily
jfranck
parents:
19438
diff
changeset
|
192 |
Java_java_lang_reflect_Executable_getTypeAnnotationBytes0; |
6dc1f81f522c
8009719: core reflection should get type annotation data from the VM lazily
jfranck
parents:
19438
diff
changeset
|
193 |
Java_java_lang_reflect_Field_getTypeAnnotationBytes0; |
12892 | 194 |
Java_java_lang_Runtime_freeMemory; |
195 |
Java_java_lang_Runtime_maxMemory; |
|
196 |
Java_java_lang_Runtime_gc; |
|
197 |
Java_java_lang_Runtime_runFinalization0; |
|
198 |
Java_java_lang_Runtime_totalMemory; |
|
199 |
Java_java_lang_Runtime_traceInstructions; |
|
200 |
Java_java_lang_Runtime_traceMethodCalls; |
|
201 |
Java_java_lang_Runtime_availableProcessors; |
|
202 |
Java_java_lang_SecurityManager_classDepth; |
|
203 |
Java_java_lang_SecurityManager_classLoaderDepth0; |
|
204 |
Java_java_lang_SecurityManager_currentClassLoader0; |
|
205 |
Java_java_lang_SecurityManager_currentLoadedClass0; |
|
206 |
Java_java_lang_SecurityManager_getClassContext; |
|
207 |
Java_java_lang_Shutdown_halt0; |
|
208 |
Java_java_lang_String_intern; |
|
209 |
Java_java_lang_System_identityHashCode; |
|
210 |
Java_java_lang_System_initProperties; |
|
211 |
Java_java_lang_System_mapLibraryName; |
|
212 |
Java_java_lang_System_registerNatives; |
|
213 |
Java_java_lang_System_setErr0; |
|
214 |
Java_java_lang_System_setIn0; |
|
215 |
Java_java_lang_System_setOut0; |
|
216 |
Java_java_lang_Thread_registerNatives; |
|
217 |
Java_java_lang_Throwable_fillInStackTrace; |
|
218 |
Java_java_lang_Throwable_getStackTraceDepth; |
|
219 |
Java_java_lang_Throwable_getStackTraceElement; |
|
16860
8fecebee12b0
8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c
jzavgren
parents:
16479
diff
changeset
|
220 |
Java_java_lang_UNIXProcess_init; |
12892 | 221 |
Java_java_lang_UNIXProcess_waitForProcessExit; |
222 |
Java_java_lang_UNIXProcess_forkAndExec; |
|
223 |
Java_java_lang_UNIXProcess_destroyProcess; |
|
224 |
Java_java_nio_Bits_copyFromShortArray; |
|
225 |
Java_java_nio_Bits_copyToShortArray; |
|
226 |
Java_java_nio_Bits_copyFromIntArray; |
|
227 |
Java_java_nio_Bits_copyToIntArray; |
|
228 |
Java_java_nio_Bits_copyFromLongArray; |
|
229 |
Java_java_nio_Bits_copyToLongArray; |
|
230 |
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2; |
|
231 |
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2; |
|
232 |
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2; |
|
233 |
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2; |
|
234 |
Java_java_security_AccessController_getStackAccessControlContext; |
|
235 |
Java_java_security_AccessController_getInheritedAccessControlContext; |
|
236 |
Java_java_util_TimeZone_getSystemTimeZoneID; |
|
237 |
Java_java_util_TimeZone_getSystemGMTOffsetID; |
|
238 |
Java_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8; |
|
239 |
Java_java_util_prefs_FileSystemPreferences_chmod; |
|
240 |
Java_java_util_prefs_FileSystemPreferences_lockFile0; |
|
241 |
Java_java_util_prefs_FileSystemPreferences_unlockFile0; |
|
242 |
Java_java_util_logging_FileHandler_isSetUID; |
|
243 |
Java_sun_misc_MessageUtils_toStderr; |
|
244 |
Java_sun_misc_MessageUtils_toStdout; |
|
245 |
Java_sun_misc_NativeSignalHandler_handle0; |
|
246 |
Java_sun_misc_Signal_findSignal; |
|
247 |
Java_sun_misc_Signal_handle0; |
|
248 |
Java_sun_misc_Signal_raise0; |
|
249 |
Java_sun_reflect_ConstantPool_getClassAt0; |
|
250 |
Java_sun_reflect_ConstantPool_getClassAtIfLoaded0; |
|
251 |
Java_sun_reflect_ConstantPool_getDoubleAt0; |
|
252 |
Java_sun_reflect_ConstantPool_getFieldAt0; |
|
253 |
Java_sun_reflect_ConstantPool_getFieldAtIfLoaded0; |
|
254 |
Java_sun_reflect_ConstantPool_getFloatAt0; |
|
255 |
Java_sun_reflect_ConstantPool_getIntAt0; |
|
256 |
Java_sun_reflect_ConstantPool_getLongAt0; |
|
257 |
Java_sun_reflect_ConstantPool_getMemberRefInfoAt0; |
|
258 |
Java_sun_reflect_ConstantPool_getMethodAt0; |
|
259 |
Java_sun_reflect_ConstantPool_getMethodAtIfLoaded0; |
|
260 |
Java_sun_reflect_ConstantPool_getSize0; |
|
261 |
Java_sun_reflect_ConstantPool_getStringAt0; |
|
262 |
Java_sun_reflect_ConstantPool_getUTF8At0; |
|
263 |
Java_java_io_Console_istty; |
|
264 |
Java_java_io_Console_encoding; |
|
265 |
Java_java_io_Console_echo; |
|
266 |
Java_sun_misc_GC_maxObjectInspectionAge; |
|
267 |
Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0; |
|
268 |
Java_sun_reflect_NativeMethodAccessorImpl_invoke0; |
|
21284
e6dfe841a88f
8025799: Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided
mchung
parents:
20482
diff
changeset
|
269 |
Java_sun_reflect_Reflection_getCallerClass__; |
e6dfe841a88f
8025799: Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided
mchung
parents:
20482
diff
changeset
|
270 |
Java_sun_reflect_Reflection_getCallerClass__I; |
12892 | 271 |
Java_sun_reflect_Reflection_getClassAccessFlags; |
272 |
Java_sun_misc_Version_getJdkVersionInfo; |
|
273 |
Java_sun_misc_Version_getJdkSpecialVersion; |
|
274 |
Java_sun_misc_Version_getJvmVersionInfo; |
|
275 |
Java_sun_misc_Version_getJvmSpecialVersion; |
|
276 |
Java_sun_misc_VM_latestUserDefinedLoader; |
|
277 |
Java_sun_misc_VM_initialize; |
|
278 |
Java_sun_misc_VMSupport_initAgentProperties; |
|
279 |
||
280 |
# ZipFile.c needs this one |
|
281 |
throwFileNotFoundException; |
|
282 |
||
283 |
# Java_sun_misc_VM_getState; threads.c |
|
284 |
# Java_sun_misc_VM_threadsSuspended; threads.c |
|
285 |
# Java_sun_misc_VM_unsuspendSomeThreads; threads.c |
|
286 |
# Java_sun_misc_VM_unsuspendThreads; threads.c |
|
287 |
||
288 |
# Outcalls from libjvm done using dlsym(). |
|
289 |
||
290 |
VerifyClassCodes; |
|
291 |
VerifyClassCodesForMajorVersion; |
|
292 |
NewStringPlatform; |
|
293 |
GetStringPlatformChars; |
|
294 |
Canonicalize; |
|
295 |
JDK_GetVersionInfo0; |
|
296 |
||
297 |
local: |
|
298 |
*; |
|
299 |
}; |