File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
jcl/src/java.base/share/classes/java/lang Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ public boolean getIncludeClassLoaderName(StackTraceElement element) {
277277 public boolean getIncludeModuleVersion (StackTraceElement element ) {
278278 return element .getIncludeModuleVersion ();
279279 }
280+ /*[ENDIF] JAVA_SPEC_VERSION >= 11 */
280281
281282 /**
282283 * Returns a cached constantPool Object from a given java.lang.Class
@@ -288,5 +289,4 @@ public boolean getIncludeModuleVersion(StackTraceElement element) {
288289 public ConstantPool getConstantPoolCache (Class <?> clazz ) {
289290 return clazz .constantPoolObject ;
290291 }
291- /*[ENDIF] JAVA_SPEC_VERSION >= 11 */
292292}
Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
193193 <fieldref class =" java/lang/Class" name =" reflectCache" signature =" Ljava/lang/Class$ReflectCache;" />
194194 <fieldref class =" java/lang/Class" name =" classLoader" signature =" Ljava/lang/ClassLoader;" />
195195 <fieldref class =" java/lang/Class" name =" vmRef" signature =" J" cast =" struct J9Class *" />
196- <fieldref class =" java/lang/Class" name =" constantPoolObject" signature =" Ljdk/internal/reflect/ConstantPool;" />
196+ <fieldref class =" java/lang/Class" name =" constantPoolObject" signature =" Ljdk/internal/reflect/ConstantPool;" versions =" 11-" />
197+ <fieldref class =" java/lang/Class" name =" constantPoolObject" signature =" Lsun/reflect/ConstantPool;" versions =" 8" />
197198 <fieldref class =" java/lang/Class" name =" initializationLock" signature =" Ljava/lang/J9VMInternals$ClassInitializationLock;" />
198199 <fieldref class =" java/lang/Class" name =" protectionDomain" signature =" Ljava/security/ProtectionDomain;" />
199200 <fieldref class =" java/lang/Class" name =" classNameString" signature =" Ljava/lang/String;" />
You can’t perform that action at this time.
0 commit comments