public class ch.qos.logback.classic.spi.PackagingDataCalculator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.classic.spi.PackagingDataCalculator
super_class: java.lang.Object
{
static final ch.qos.logback.classic.spi.StackTraceElementProxy[] STEP_ARRAY_TEMPLATE;
descriptor: [Lch/qos/logback/classic/spi/StackTraceElementProxy;
flags: (0x0018) ACC_STATIC, ACC_FINAL
java.util.HashMap<java.lang.String, ch.qos.logback.classic.spi.ClassPackagingData> cache;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Lch/qos/logback/classic/spi/ClassPackagingData;>;
private static boolean GET_CALLER_CLASS_METHOD_AVAILABLE;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: iconst_0
anewarray ch.qos.logback.classic.spi.StackTraceElementProxy
putstatic ch.qos.logback.classic.spi.PackagingDataCalculator.STEP_ARRAY_TEMPLATE:[Lch/qos/logback/classic/spi/StackTraceElementProxy;
1: iconst_0
putstatic ch.qos.logback.classic.spi.PackagingDataCalculator.GET_CALLER_CLASS_METHOD_AVAILABLE:Z
2: iconst_2
invokestatic sun.reflect.Reflection.getCallerClass:(I)Ljava/lang/Class;
pop
3: iconst_1
putstatic ch.qos.logback.classic.spi.PackagingDataCalculator.GET_CALLER_CLASS_METHOD_AVAILABLE:Z
4: goto 11
StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
5: pop
goto 11
6: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
goto 11
7: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 0
start local 0 9: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Unexpected exception"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: aload 0
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 0 11: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
9 11 0 e Ljava/lang/Throwable;
Exception table:
from to target type
2 4 5 Class java.lang.NoClassDefFoundError
2 4 6 Class java.lang.NoSuchMethodError
2 4 7 Class java.lang.UnsupportedOperationException
2 4 8 Class java.lang.Throwable
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield ch.qos.logback.classic.spi.PackagingDataCalculator.cache:Ljava/util/HashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
public void calculate(ch.qos.logback.classic.spi.IThrowableProxy);
descriptor: (Lch/qos/logback/classic/spi/IThrowableProxy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: goto 10
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface ch.qos.logback.classic.spi.IThrowableProxy.getStackTraceElementProxyArray:()[Lch/qos/logback/classic/spi/StackTraceElementProxy;
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.populateFrames:([Lch/qos/logback/classic/spi/StackTraceElementProxy;)V
2: aload 1
invokeinterface ch.qos.logback.classic.spi.IThrowableProxy.getSuppressed:()[Lch/qos/logback/classic/spi/IThrowableProxy;
astore 2
start local 2 3: aload 2
ifnull 9
4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: ch.qos.logback.classic.spi.PackagingDataCalculator ch.qos.logback.classic.spi.IThrowableProxy ch.qos.logback.classic.spi.IThrowableProxy[] top int int ch.qos.logback.classic.spi.IThrowableProxy[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 0
aload 3
invokeinterface ch.qos.logback.classic.spi.IThrowableProxy.getStackTraceElementProxyArray:()[Lch/qos/logback/classic/spi/StackTraceElementProxy;
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.populateFrames:([Lch/qos/logback/classic/spi/StackTraceElementProxy;)V
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 5
9: StackMap locals: ch.qos.logback.classic.spi.PackagingDataCalculator ch.qos.logback.classic.spi.IThrowableProxy ch.qos.logback.classic.spi.IThrowableProxy[]
StackMap stack:
aload 1
invokeinterface ch.qos.logback.classic.spi.IThrowableProxy.getCause:()Lch/qos/logback/classic/spi/IThrowableProxy;
astore 1
end local 2 10: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 12 1 tp Lch/qos/logback/classic/spi/IThrowableProxy;
3 10 2 suppressed [Lch/qos/logback/classic/spi/IThrowableProxy;
6 7 3 current Lch/qos/logback/classic/spi/IThrowableProxy;
MethodParameters:
Name Flags
tp
void populateFrames(ch.qos.logback.classic.spi.StackTraceElementProxy[]);
descriptor: ([Lch/qos/logback/classic/spi/StackTraceElementProxy;)V
flags: (0x0000)
Code:
stack=4, locals=15, args_size=2
start local 0 start local 1 0: new java.lang.Throwable
dup
ldc "local stack reference"
invokespecial java.lang.Throwable.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 3
start local 3 2: aload 3
aload 1
invokestatic ch.qos.logback.classic.spi.STEUtil.findNumberOfCommonFrames:([Ljava/lang/StackTraceElement;[Lch/qos/logback/classic/spi/StackTraceElementProxy;)I
istore 4
start local 4 3: aload 3
arraylength
iload 4
isub
istore 5
start local 5 4: aload 1
arraylength
iload 4
isub
istore 6
start local 6 5: aconst_null
astore 7
start local 7 6: aconst_null
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: iconst_0
istore 10
start local 10 9: goto 26
10: StackMap locals: ch.qos.logback.classic.spi.PackagingDataCalculator ch.qos.logback.classic.spi.StackTraceElementProxy[] java.lang.Throwable java.lang.StackTraceElement[] int int int java.lang.ClassLoader java.lang.ClassLoader int int
StackMap stack:
aconst_null
astore 11
start local 11 11: getstatic ch.qos.logback.classic.spi.PackagingDataCalculator.GET_CALLER_CLASS_METHOD_AVAILABLE:Z
ifeq 13
12: iload 5
iload 10
iadd
iload 9
isub
iconst_1
iadd
invokestatic sun.reflect.Reflection.getCallerClass:(I)Ljava/lang/Class;
astore 11
13: StackMap locals: java.lang.Class
StackMap stack:
aload 1
iload 6
iload 10
iadd
aaload
astore 12
start local 12 14: aload 12
getfield ch.qos.logback.classic.spi.StackTraceElementProxy.ste:Ljava/lang/StackTraceElement;
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
astore 13
start local 13 15: aload 11
ifnull 22
aload 13
aload 11
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
16: aload 11
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 7
17: aload 8
ifnonnull 19
18: aload 7
astore 8
19: StackMap locals: ch.qos.logback.classic.spi.StackTraceElementProxy java.lang.String
StackMap stack:
aload 0
aload 11
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.calculateByExactType:(Ljava/lang/Class;)Lch/qos/logback/classic/spi/ClassPackagingData;
astore 14
start local 14 20: aload 12
aload 14
invokevirtual ch.qos.logback.classic.spi.StackTraceElementProxy.setClassPackagingData:(Lch/qos/logback/classic/spi/ClassPackagingData;)V
end local 14 21: goto 25
22: StackMap locals:
StackMap stack:
iinc 9 1
23: aload 0
aload 12
aload 7
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.computeBySTEP:(Lch/qos/logback/classic/spi/StackTraceElementProxy;Ljava/lang/ClassLoader;)Lch/qos/logback/classic/spi/ClassPackagingData;
astore 14
start local 14 24: aload 12
aload 14
invokevirtual ch.qos.logback.classic.spi.StackTraceElementProxy.setClassPackagingData:(Lch/qos/logback/classic/spi/ClassPackagingData;)V
end local 14 end local 13 end local 12 end local 11 25: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
26: iload 10
iload 4
if_icmplt 10
end local 10 27: aload 0
iload 4
aload 1
aload 8
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.populateUncommonFrames:(I[Lch/qos/logback/classic/spi/StackTraceElementProxy;Ljava/lang/ClassLoader;)V
28: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 29 1 stepArray [Lch/qos/logback/classic/spi/StackTraceElementProxy;
1 29 2 t Ljava/lang/Throwable;
2 29 3 localteSTEArray [Ljava/lang/StackTraceElement;
3 29 4 commonFrames I
4 29 5 localFirstCommon I
5 29 6 stepFirstCommon I
6 29 7 lastExactClassLoader Ljava/lang/ClassLoader;
7 29 8 firsExactClassLoader Ljava/lang/ClassLoader;
8 29 9 missfireCount I
9 27 10 i I
11 25 11 callerClass Ljava/lang/Class;
14 25 12 step Lch/qos/logback/classic/spi/StackTraceElementProxy;
15 25 13 stepClassname Ljava/lang/String;
20 21 14 pi Lch/qos/logback/classic/spi/ClassPackagingData;
24 25 14 pi Lch/qos/logback/classic/spi/ClassPackagingData;
MethodParameters:
Name Flags
stepArray
void populateUncommonFrames(int, ch.qos.logback.classic.spi.StackTraceElementProxy[], java.lang.ClassLoader);
descriptor: (I[Lch/qos/logback/classic/spi/StackTraceElementProxy;Ljava/lang/ClassLoader;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
iload 1
isub
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 4: aload 0
aload 6
aload 3
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.computeBySTEP:(Lch/qos/logback/classic/spi/StackTraceElementProxy;Ljava/lang/ClassLoader;)Lch/qos/logback/classic/spi/ClassPackagingData;
astore 7
start local 7 5: aload 6
aload 7
invokevirtual ch.qos.logback.classic.spi.StackTraceElementProxy.setClassPackagingData:(Lch/qos/logback/classic/spi/ClassPackagingData;)V
end local 7 end local 6 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 4
if_icmplt 3
end local 5 8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 9 1 commonFrames I
0 9 2 stepArray [Lch/qos/logback/classic/spi/StackTraceElementProxy;
0 9 3 firstExactClassLoader Ljava/lang/ClassLoader;
1 9 4 uncommonFrames I
2 8 5 i I
4 6 6 step Lch/qos/logback/classic/spi/StackTraceElementProxy;
5 6 7 pi Lch/qos/logback/classic/spi/ClassPackagingData;
MethodParameters:
Name Flags
commonFrames
stepArray
firstExactClassLoader
private ch.qos.logback.classic.spi.ClassPackagingData calculateByExactType(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lch/qos/logback/classic/spi/ClassPackagingData;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield ch.qos.logback.classic.spi.PackagingDataCalculator.cache:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.spi.ClassPackagingData
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
areturn
4: StackMap locals: java.lang.String ch.qos.logback.classic.spi.ClassPackagingData
StackMap stack:
aload 0
aload 1
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getImplementationVersion:(Ljava/lang/Class;)Ljava/lang/String;
astore 4
start local 4 5: aload 0
aload 1
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation:(Ljava/lang/Class;)Ljava/lang/String;
astore 5
start local 5 6: new ch.qos.logback.classic.spi.ClassPackagingData
dup
aload 5
aload 4
invokespecial ch.qos.logback.classic.spi.ClassPackagingData.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
7: aload 0
getfield ch.qos.logback.classic.spi.PackagingDataCalculator.cache:Ljava/util/HashMap;
aload 2
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 9 1 type Ljava/lang/Class;
1 9 2 className Ljava/lang/String;
2 9 3 cpd Lch/qos/logback/classic/spi/ClassPackagingData;
5 9 4 version Ljava/lang/String;
6 9 5 codeLocation Ljava/lang/String;
MethodParameters:
Name Flags
type
private ch.qos.logback.classic.spi.ClassPackagingData computeBySTEP(ch.qos.logback.classic.spi.StackTraceElementProxy, java.lang.ClassLoader);
descriptor: (Lch/qos/logback/classic/spi/StackTraceElementProxy;Ljava/lang/ClassLoader;)Lch/qos/logback/classic/spi/ClassPackagingData;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield ch.qos.logback.classic.spi.StackTraceElementProxy.ste:Ljava/lang/StackTraceElement;
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield ch.qos.logback.classic.spi.PackagingDataCalculator.cache:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast ch.qos.logback.classic.spi.ClassPackagingData
astore 4
start local 4 2: aload 4
ifnull 4
3: aload 4
areturn
4: StackMap locals: java.lang.String ch.qos.logback.classic.spi.ClassPackagingData
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.bestEffortLoadClass:(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 5: aload 0
aload 5
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getImplementationVersion:(Ljava/lang/Class;)Ljava/lang/String;
astore 6
start local 6 6: aload 0
aload 5
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation:(Ljava/lang/Class;)Ljava/lang/String;
astore 7
start local 7 7: new ch.qos.logback.classic.spi.ClassPackagingData
dup
aload 7
aload 6
iconst_0
invokespecial ch.qos.logback.classic.spi.ClassPackagingData.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 4
8: aload 0
getfield ch.qos.logback.classic.spi.PackagingDataCalculator.cache:Ljava/util/HashMap;
aload 3
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 4
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 10 1 step Lch/qos/logback/classic/spi/StackTraceElementProxy;
0 10 2 lastExactClassLoader Ljava/lang/ClassLoader;
1 10 3 className Ljava/lang/String;
2 10 4 cpd Lch/qos/logback/classic/spi/ClassPackagingData;
5 10 5 type Ljava/lang/Class;
6 10 6 version Ljava/lang/String;
7 10 7 codeLocation Ljava/lang/String;
MethodParameters:
Name Flags
step
lastExactClassLoader
java.lang.String getImplementationVersion(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc "na"
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
astore 2
start local 2 3: aload 2
ifnull 8
4: aload 2
invokevirtual java.lang.Package.getImplementationVersion:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: ldc "na"
areturn
7: StackMap locals: java.lang.Package java.lang.String
StackMap stack:
aload 3
areturn
end local 3 8: StackMap locals:
StackMap stack:
ldc "na"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 9 1 type Ljava/lang/Class;
3 9 2 aPackage Ljava/lang/Package;
5 8 3 v Ljava/lang/String;
MethodParameters:
Name Flags
type
java.lang.String getCodeLocation(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 13
1: aload 1
invokevirtual java.lang.Class.getProtectionDomain:()Ljava/security/ProtectionDomain;
invokevirtual java.security.ProtectionDomain.getCodeSource:()Ljava/security/CodeSource;
astore 2
start local 2 2: aload 2
ifnull 13
3: aload 2
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
astore 3
start local 3 4: aload 3
ifnull 13
5: aload 3
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 4
start local 4 6: aload 0
aload 4
bipush 47
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation:(Ljava/lang/String;C)Ljava/lang/String;
astore 5
start local 5 7: aload 5
ifnull 10
8: aload 5
9: areturn
10: StackMap locals: ch.qos.logback.classic.spi.PackagingDataCalculator java.lang.Class java.security.CodeSource java.net.URL java.lang.String java.lang.String
StackMap stack:
aload 0
aload 4
bipush 92
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.getCodeLocation:(Ljava/lang/String;C)Ljava/lang/String;
11: areturn
end local 5 end local 4 end local 3 end local 2 12: StackMap locals: ch.qos.logback.classic.spi.PackagingDataCalculator java.lang.Class
StackMap stack: java.lang.Exception
pop
13: StackMap locals:
StackMap stack:
ldc "na"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 14 1 type Ljava/lang/Class;
2 12 2 codeSource Ljava/security/CodeSource;
4 12 3 resource Ljava/net/URL;
6 12 4 locationStr Ljava/lang/String;
7 12 5 result Ljava/lang/String;
Exception table:
from to target type
0 9 12 Class java.lang.Exception
10 11 12 Class java.lang.Exception
MethodParameters:
Name Flags
type
private java.lang.String getCodeLocation(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 1: aload 0
iload 3
aload 1
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.isFolder:(ILjava/lang/String;)Z
ifeq 4
2: aload 1
iload 2
iload 3
iconst_1
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 3
3: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
4: StackMap locals: int
StackMap stack:
iload 3
ifle 6
5: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 7 1 locationStr Ljava/lang/String;
0 7 2 separator C
1 7 3 idx I
MethodParameters:
Name Flags
locationStr
separator
private boolean isFolder(int, java.lang.String);
descriptor: (ILjava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_m1
if_icmpeq 1
iload 1
iconst_1
iadd
aload 2
invokevirtual java.lang.String.length:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 2 1 idx I
0 2 2 text Ljava/lang/String;
MethodParameters:
Name Flags
idx
text
private java.lang.Class loadClass(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
5: aconst_null
areturn
6: StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
pop
7: aconst_null
areturn
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 9: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
10: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 11 1 cl Ljava/lang/ClassLoader;
0 11 2 className Ljava/lang/String;
9 11 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.ClassNotFoundException
2 3 6 Class java.lang.NoClassDefFoundError
2 3 8 Class java.lang.Exception
MethodParameters:
Name Flags
cl
className
private java.lang.Class bestEffortLoadClass(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.loadClass:(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 4: aload 4
aload 1
if_acmpeq 6
5: aload 0
aload 4
aload 2
invokevirtual ch.qos.logback.classic.spi.PackagingDataCalculator.loadClass:(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Class;
astore 3
6: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 3
ifnull 8
7: aload 3
areturn
8: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
9: areturn
10: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
11: aconst_null
areturn
12: StackMap locals:
StackMap stack: java.lang.NoClassDefFoundError
pop
13: aconst_null
areturn
14: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 15: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
16: aconst_null
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lch/qos/logback/classic/spi/PackagingDataCalculator;
0 17 1 lastGuaranteedClassLoader Ljava/lang/ClassLoader;
0 17 2 className Ljava/lang/String;
1 17 3 result Ljava/lang/Class;
4 17 4 tccl Ljava/lang/ClassLoader;
15 17 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.ClassNotFoundException
8 9 12 Class java.lang.NoClassDefFoundError
8 9 14 Class java.lang.Exception
MethodParameters:
Name Flags
lastGuaranteedClassLoader
className
}
SourceFile: "PackagingDataCalculator.java"