Mon, 28 Jan 2013 10:55:30 -0500
8004967: Default method cause VerifyError: Illegal use of nonvirtual
Summary: Recognize VM generated method in old verifier
Reviewed-by: acorn, coleenp
Contributed-by: bharadwaj.yadavelli@oracle.com
1 #
2 # @(#)mapfile-vers-product 1.19 08/02/12 10:56:37
3 #
5 #
6 # Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 #
9 # This code is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License version 2 only, as
11 # published by the Free Software Foundation.
12 #
13 # This code is distributed in the hope that it will be useful, but WITHOUT
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # version 2 for more details (a copy is included in the LICENSE file that
17 # accompanied this code).
18 #
19 # You should have received a copy of the GNU General Public License version
20 # 2 along with this work; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #
23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
24 # or visit www.oracle.com if you need additional information or have any
25 # questions.
26 #
27 #
29 # Define public interface.
31 SUNWprivate_1.1 {
32 global:
33 # JNI
34 JNI_CreateJavaVM;
35 JNI_GetCreatedJavaVMs;
36 JNI_GetDefaultJavaVMInitArgs;
38 # JVM
39 JVM_Accept;
40 JVM_ActiveProcessorCount;
41 JVM_AllocateNewArray;
42 JVM_AllocateNewObject;
43 JVM_ArrayCopy;
44 JVM_AssertionStatusDirectives;
45 JVM_Available;
46 JVM_Bind;
47 JVM_ClassDepth;
48 JVM_ClassLoaderDepth;
49 JVM_Clone;
50 JVM_Close;
51 JVM_CX8Field;
52 JVM_CompileClass;
53 JVM_CompileClasses;
54 JVM_CompilerCommand;
55 JVM_Connect;
56 JVM_ConstantPoolGetClassAt;
57 JVM_ConstantPoolGetClassAtIfLoaded;
58 JVM_ConstantPoolGetDoubleAt;
59 JVM_ConstantPoolGetFieldAt;
60 JVM_ConstantPoolGetFieldAtIfLoaded;
61 JVM_ConstantPoolGetFloatAt;
62 JVM_ConstantPoolGetIntAt;
63 JVM_ConstantPoolGetLongAt;
64 JVM_ConstantPoolGetMethodAt;
65 JVM_ConstantPoolGetMethodAtIfLoaded;
66 JVM_ConstantPoolGetMemberRefInfoAt;
67 JVM_ConstantPoolGetSize;
68 JVM_ConstantPoolGetStringAt;
69 JVM_ConstantPoolGetUTF8At;
70 JVM_CountStackFrames;
71 JVM_CurrentClassLoader;
72 JVM_CurrentLoadedClass;
73 JVM_CurrentThread;
74 JVM_CurrentTimeMillis;
75 JVM_DefineClass;
76 JVM_DefineClassWithSource;
77 JVM_DefineClassWithSourceCond;
78 JVM_DesiredAssertionStatus;
79 JVM_DisableCompiler;
80 JVM_DoPrivileged;
81 JVM_DTraceGetVersion;
82 JVM_DTraceActivate;
83 JVM_DTraceIsProbeEnabled;
84 JVM_DTraceIsSupported;
85 JVM_DTraceDispose;
86 JVM_DumpAllStacks;
87 JVM_DumpThreads;
88 JVM_EnableCompiler;
89 JVM_Exit;
90 JVM_FillInStackTrace;
91 JVM_FindClassFromClass;
92 JVM_FindClassFromClassLoader;
93 JVM_FindClassFromBootLoader;
94 JVM_FindLibraryEntry;
95 JVM_FindLoadedClass;
96 JVM_FindPrimitiveClass;
97 JVM_FindSignal;
98 JVM_FreeMemory;
99 JVM_GC;
100 JVM_GetAllThreads;
101 JVM_GetArrayElement;
102 JVM_GetArrayLength;
103 JVM_GetCPClassNameUTF;
104 JVM_GetCPFieldClassNameUTF;
105 JVM_GetCPFieldModifiers;
106 JVM_GetCPFieldNameUTF;
107 JVM_GetCPFieldSignatureUTF;
108 JVM_GetCPMethodClassNameUTF;
109 JVM_GetCPMethodModifiers;
110 JVM_GetCPMethodNameUTF;
111 JVM_GetCPMethodSignatureUTF;
112 JVM_GetCallerClass;
113 JVM_GetClassAccessFlags;
114 JVM_GetClassAnnotations;
115 JVM_GetClassCPEntriesCount;
116 JVM_GetClassCPTypes;
117 JVM_GetClassConstantPool;
118 JVM_GetClassContext;
119 JVM_GetClassDeclaredConstructors;
120 JVM_GetClassDeclaredFields;
121 JVM_GetClassDeclaredMethods;
122 JVM_GetClassFieldsCount;
123 JVM_GetClassInterfaces;
124 JVM_GetClassLoader;
125 JVM_GetClassMethodsCount;
126 JVM_GetClassModifiers;
127 JVM_GetClassName;
128 JVM_GetClassNameUTF;
129 JVM_GetClassSignature;
130 JVM_GetClassSigners;
131 JVM_GetClassTypeAnnotations;
132 JVM_GetComponentType;
133 JVM_GetDeclaredClasses;
134 JVM_GetDeclaringClass;
135 JVM_GetEnclosingMethodInfo;
136 JVM_GetFieldAnnotations;
137 JVM_GetFieldIxModifiers;
138 JVM_GetHostName;
139 JVM_GetInheritedAccessControlContext;
140 JVM_GetInterfaceVersion;
141 JVM_GetLastErrorString;
142 JVM_GetManagement;
143 JVM_GetMethodAnnotations;
144 JVM_GetMethodDefaultAnnotationValue;
145 JVM_GetMethodIxArgsSize;
146 JVM_GetMethodIxByteCode;
147 JVM_GetMethodIxByteCodeLength;
148 JVM_GetMethodIxExceptionIndexes;
149 JVM_GetMethodIxExceptionTableEntry;
150 JVM_GetMethodIxExceptionTableLength;
151 JVM_GetMethodIxExceptionsCount;
152 JVM_GetMethodIxLocalsCount;
153 JVM_GetMethodIxMaxStack;
154 JVM_GetMethodIxModifiers;
155 JVM_GetMethodIxNameUTF;
156 JVM_GetMethodIxSignatureUTF;
157 JVM_GetMethodParameterAnnotations;
158 JVM_GetMethodParameters;
159 JVM_GetPrimitiveArrayElement;
160 JVM_GetProtectionDomain;
161 JVM_GetSockName;
162 JVM_GetSockOpt;
163 JVM_GetStackAccessControlContext;
164 JVM_GetStackTraceDepth;
165 JVM_GetStackTraceElement;
166 JVM_GetSystemPackage;
167 JVM_GetSystemPackages;
168 JVM_GetThreadStateNames;
169 JVM_GetThreadStateValues;
170 JVM_GetVersionInfo;
171 JVM_Halt;
172 JVM_HoldsLock;
173 JVM_IHashCode;
174 JVM_InitAgentProperties;
175 JVM_InitProperties;
176 JVM_InitializeCompiler;
177 JVM_InitializeSocketLibrary;
178 JVM_InternString;
179 JVM_Interrupt;
180 JVM_InvokeMethod;
181 JVM_IsArrayClass;
182 JVM_IsConstructorIx;
183 JVM_IsInterface;
184 JVM_IsInterrupted;
185 JVM_IsNaN;
186 JVM_IsPrimitiveClass;
187 JVM_IsSameClassPackage;
188 JVM_IsSilentCompiler;
189 JVM_IsSupportedJNIVersion;
190 JVM_IsThreadAlive;
191 JVM_IsVMGeneratedMethodIx;
192 JVM_LatestUserDefinedLoader;
193 JVM_Listen;
194 JVM_LoadClass0;
195 JVM_LoadLibrary;
196 JVM_Lseek;
197 JVM_MaxObjectInspectionAge;
198 JVM_MaxMemory;
199 JVM_MonitorNotify;
200 JVM_MonitorNotifyAll;
201 JVM_MonitorWait;
202 JVM_NanoTime;
203 JVM_NativePath;
204 JVM_NewArray;
205 JVM_NewInstanceFromConstructor;
206 JVM_NewMultiArray;
207 JVM_OnExit;
208 JVM_Open;
209 JVM_RaiseSignal;
210 JVM_RawMonitorCreate;
211 JVM_RawMonitorDestroy;
212 JVM_RawMonitorEnter;
213 JVM_RawMonitorExit;
214 JVM_Read;
215 JVM_Recv;
216 JVM_RecvFrom;
217 JVM_RegisterSignal;
218 JVM_ReleaseUTF;
219 JVM_ResolveClass;
220 JVM_ResumeThread;
221 JVM_Send;
222 JVM_SendTo;
223 JVM_SetArrayElement;
224 JVM_SetClassSigners;
225 JVM_SetLength;
226 JVM_SetPrimitiveArrayElement;
227 JVM_SetProtectionDomain;
228 JVM_SetSockOpt;
229 JVM_SetThreadPriority;
230 JVM_Sleep;
231 JVM_Socket;
232 JVM_SocketAvailable;
233 JVM_SocketClose;
234 JVM_SocketShutdown;
235 JVM_StartThread;
236 JVM_StopThread;
237 JVM_SuspendThread;
238 JVM_SupportsCX8;
239 JVM_Sync;
240 JVM_Timeout;
241 JVM_TotalMemory;
242 JVM_TraceInstructions;
243 JVM_TraceMethodCalls;
244 JVM_UnloadLibrary;
245 JVM_Write;
246 JVM_Yield;
247 JVM_handle_bsd_signal;
249 # Old reflection routines
250 # These do not need to be present in the product build in JDK 1.4
251 # but their code has not been removed yet because there will not
252 # be a substantial code savings until JVM_InvokeMethod and
253 # JVM_NewInstanceFromConstructor can also be removed; see
254 # reflectionCompat.hpp.
255 JVM_GetClassConstructor;
256 JVM_GetClassConstructors;
257 JVM_GetClassField;
258 JVM_GetClassFields;
259 JVM_GetClassMethod;
260 JVM_GetClassMethods;
261 JVM_GetField;
262 JVM_GetPrimitiveField;
263 JVM_NewInstance;
264 JVM_SetField;
265 JVM_SetPrimitiveField;
267 # miscellaneous functions
268 jio_fprintf;
269 jio_printf;
270 jio_snprintf;
271 jio_vfprintf;
272 jio_vsnprintf;
273 fork1;
274 numa_warn;
275 numa_error;
277 # Needed because there is no JVM interface for this.
278 sysThreadAvailableStackWithSlack;
280 # This is for Forte Analyzer profiling support.
281 AsyncGetCallTrace;
283 # INSERT VTABLE SYMBOLS HERE
285 local:
286 *;
287 };