public final class org.apache.lucene.util.Constants
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.Constants
super_class: java.lang.Object
{
public static final java.lang.String JVM_VENDOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String JVM_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String JVM_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String JVM_SPEC_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String JAVA_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean LINUX;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean WINDOWS;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean SUN_OS;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean MAC_OS_X;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean FREE_BSD;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_ARCH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String JAVA_VENDOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int JVM_MAJOR_VERSION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int JVM_MINOR_VERSION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final boolean JRE_IS_64BIT;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean JRE_IS_MINIMUM_JAVA8;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean JRE_IS_MINIMUM_JAVA9;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean JRE_IS_MINIMUM_JAVA11;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String LUCENE_MAIN_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.lang.String LUCENE_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: ldc "java.vm.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JVM_VENDOR:Ljava/lang/String;
1: ldc "java.vm.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JVM_VERSION:Ljava/lang/String;
2: ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JVM_NAME:Ljava/lang/String;
3: ldc "java.specification.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JVM_SPEC_VERSION:Ljava/lang/String;
4: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JAVA_VERSION:Ljava/lang/String;
5: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
6: getstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
ldc "Linux"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic org.apache.lucene.util.Constants.LINUX:Z
7: getstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
ldc "Windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic org.apache.lucene.util.Constants.WINDOWS:Z
8: getstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
ldc "SunOS"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic org.apache.lucene.util.Constants.SUN_OS:Z
9: getstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
ldc "Mac OS X"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic org.apache.lucene.util.Constants.MAC_OS_X:Z
10: getstatic org.apache.lucene.util.Constants.OS_NAME:Ljava/lang/String;
ldc "FreeBSD"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic org.apache.lucene.util.Constants.FREE_BSD:Z
11: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.OS_ARCH:Ljava/lang/String;
12: ldc "os.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.OS_VERSION:Ljava/lang/String;
13: ldc "java.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.JAVA_VENDOR:Ljava/lang/String;
14: new java.util.StringTokenizer
dup
getstatic org.apache.lucene.util.Constants.JVM_SPEC_VERSION:Ljava/lang/String;
ldc "."
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 0
start local 0 15: aload 0
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
16: aload 0
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 19
17: aload 0
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic org.apache.lucene.util.Constants.JVM_MINOR_VERSION:I
18: goto 20
19: StackMap locals: java.util.StringTokenizer
StackMap stack:
iconst_0
putstatic org.apache.lucene.util.Constants.JVM_MINOR_VERSION:I
20: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 21: aconst_null
astore 2
start local 2 22: ldc "sun.arch.data.model"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
23: aload 2
ifnull 27
24: aload 2
ldc "64"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 1
25: goto 27
StackMap locals: java.util.StringTokenizer int java.lang.String
StackMap stack: java.lang.SecurityException
26: pop
27: StackMap locals:
StackMap stack:
aload 2
ifnonnull 32
28: getstatic org.apache.lucene.util.Constants.OS_ARCH:Ljava/lang/String;
ifnull 31
getstatic org.apache.lucene.util.Constants.OS_ARCH:Ljava/lang/String;
ldc "64"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 31
29: iconst_1
istore 1
30: goto 32
31: StackMap locals:
StackMap stack:
iconst_0
istore 1
32: StackMap locals:
StackMap stack:
iload 1
putstatic org.apache.lucene.util.Constants.JRE_IS_64BIT:Z
end local 2 end local 1 end local 0 33: getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpgt 35
getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpne 34
getstatic org.apache.lucene.util.Constants.JVM_MINOR_VERSION:I
bipush 8
if_icmpge 35
StackMap locals:
StackMap stack:
34: iconst_0
goto 36
StackMap locals:
StackMap stack:
35: iconst_1
StackMap locals:
StackMap stack: int
36: putstatic org.apache.lucene.util.Constants.JRE_IS_MINIMUM_JAVA8:Z
37: getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpgt 39
getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpne 38
getstatic org.apache.lucene.util.Constants.JVM_MINOR_VERSION:I
bipush 9
if_icmpge 39
StackMap locals:
StackMap stack:
38: iconst_0
goto 40
StackMap locals:
StackMap stack:
39: iconst_1
StackMap locals:
StackMap stack: int
40: putstatic org.apache.lucene.util.Constants.JRE_IS_MINIMUM_JAVA9:Z
41: getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpgt 43
getstatic org.apache.lucene.util.Constants.JVM_MAJOR_VERSION:I
iconst_1
if_icmpne 42
getstatic org.apache.lucene.util.Constants.JVM_MINOR_VERSION:I
bipush 11
if_icmpge 43
StackMap locals:
StackMap stack:
42: iconst_0
goto 44
StackMap locals:
StackMap stack:
43: iconst_1
StackMap locals:
StackMap stack: int
44: putstatic org.apache.lucene.util.Constants.JRE_IS_MINIMUM_JAVA11:Z
45: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
invokevirtual org.apache.lucene.util.Version.toString:()Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.LUCENE_MAIN_VERSION:Ljava/lang/String;
46: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
invokevirtual org.apache.lucene.util.Version.toString:()Ljava/lang/String;
putstatic org.apache.lucene.util.Constants.LUCENE_VERSION:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
15 33 0 st Ljava/util/StringTokenizer;
21 33 1 is64Bit Z
22 33 2 datamodel Ljava/lang/String;
Exception table:
from to target type
22 25 26 Class java.lang.SecurityException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/lucene/util/Constants;
}
SourceFile: "Constants.java"