public class org.apache.tomcat.util.compat.JreVendor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.compat.JreVendor
super_class: java.lang.Object
{
public static final boolean IS_ORACLE_JVM;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_IBM_JVM;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "java.vendor"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 0
2: aload 0
ldc "oracle"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
aload 0
ldc "sun"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
3: StackMap locals: java.lang.String
StackMap stack:
iconst_1
putstatic org.apache.tomcat.util.compat.JreVendor.IS_ORACLE_JVM:Z
4: iconst_0
putstatic org.apache.tomcat.util.compat.JreVendor.IS_IBM_JVM:Z
5: goto 12
StackMap locals:
StackMap stack:
6: aload 0
ldc "ibm"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
7: iconst_0
putstatic org.apache.tomcat.util.compat.JreVendor.IS_ORACLE_JVM:Z
8: iconst_1
putstatic org.apache.tomcat.util.compat.JreVendor.IS_IBM_JVM:Z
9: goto 12
10: StackMap locals:
StackMap stack:
iconst_0
putstatic org.apache.tomcat.util.compat.JreVendor.IS_ORACLE_JVM:Z
11: iconst_0
putstatic org.apache.tomcat.util.compat.JreVendor.IS_IBM_JVM:Z
end local 0 12: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 12 0 vendor Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/compat/JreVendor;
}
SourceFile: "JreVendor.java"