public class ch.qos.logback.core.util.EnvUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.util.EnvUtil
super_class: java.lang.Object
{
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 Lch/qos/logback/core/util/EnvUtil;
private static boolean isJDK_N_OrHigher(int);
descriptor: (I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.List int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "1."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
iload 2
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iconst_5
if_icmplt 3
end local 2 6: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: iconst_0
ireturn
9: StackMap locals: int java.util.List java.lang.String
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: int java.util.List java.lang.String top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 11: aload 2
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: iconst_1
ireturn
end local 3 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 n I
1 15 1 versionList Ljava/util/List<Ljava/lang/String;>;
2 6 2 i I
7 15 2 javaVersion Ljava/lang/String;
11 13 3 v Ljava/lang/String;
MethodParameters:
Name Flags
n
public static boolean isJDK5();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_5
invokestatic ch.qos.logback.core.util.EnvUtil.isJDK_N_OrHigher:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isJDK6OrHigher();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 6
invokestatic ch.qos.logback.core.util.EnvUtil.isJDK_N_OrHigher:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isJDK7OrHigher();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 7
invokestatic ch.qos.logback.core.util.EnvUtil.isJDK_N_OrHigher:(I)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isJaninoAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lch/qos/logback/core/util/EnvUtil;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ldc "org.codehaus.janino.ScriptEvaluator"
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 2: aload 1
ifnull 3
iconst_1
ireturn
StackMap locals: java.lang.ClassLoader java.lang.Class
StackMap stack:
3: iconst_0
4: ireturn
end local 1 5: StackMap locals: java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
pop
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 classLoader Ljava/lang/ClassLoader;
2 5 1 bindingClass Ljava/lang/Class<*>;
Exception table:
from to target type
1 4 5 Class java.lang.ClassNotFoundException
public static boolean isWindows();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ldc "Windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 os Ljava/lang/String;
}
SourceFile: "EnvUtil.java"