public final class org.apache.catalina.startup.ClassLoaderFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.startup.ClassLoaderFactory
super_class: java.lang.Object
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/startup/ClassLoaderFactory;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
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/catalina/startup/ClassLoaderFactory;
public static java.lang.ClassLoader createClassLoader(java.io.File[], java.io.File[], java.lang.ClassLoader);
descriptor: ([Ljava/io/File;[Ljava/io/File;Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=16, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
ldc "Creating new class loader"
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 3
start local 3 3: aload 0
ifnull 15
4: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 14
StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set top int int java.io.File[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 4
invokevirtual java.io.File.canRead:()Z
ifne 8
7: goto 13
8: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set java.io.File int int java.io.File[]
StackMap stack:
new java.io.File
dup
new java.lang.StringBuilder
dup
aload 4
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
9: aload 4
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 8
start local 8 10: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 12
11: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including directory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
12: StackMap locals: java.net.URL
StackMap stack:
aload 3
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 13: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set top int int java.io.File[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 6
if_icmplt 5
15: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set
StackMap stack:
aload 1
ifnull 37
16: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 36
StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set top int int java.io.File[]
StackMap stack:
17: aload 7
iload 5
aaload
astore 4
start local 4 18: aload 4
invokevirtual java.io.File.isDirectory:()Z
ifeq 35
aload 4
invokevirtual java.io.File.canRead:()Z
ifne 20
19: goto 35
20: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set java.io.File int int java.io.File[]
StackMap stack:
aload 4
invokevirtual java.io.File.list:()[Ljava/lang/String;
astore 8
start local 8 21: aload 8
ifnonnull 23
22: goto 35
23: StackMap locals: java.lang.String[]
StackMap stack:
aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 34
StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set java.io.File int int java.io.File[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
24: aload 12
iload 10
aaload
astore 9
start local 9 25: aload 9
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 13
start local 13 26: aload 13
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 28
27: goto 33
28: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set java.io.File int int java.io.File[] java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String
StackMap stack:
new java.io.File
dup
aload 4
aload 9
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 14
start local 14 29: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 31
30: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including jar file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 14
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
31: StackMap locals: java.io.File
StackMap stack:
aload 14
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 15
start local 15 32: aload 3
aload 15
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 14 end local 13 end local 9 33: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set java.io.File int int java.io.File[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
34: iload 10
iload 11
if_icmplt 24
end local 8 end local 4 35: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set top int int java.io.File[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
36: iload 5
iload 6
if_icmplt 17
37: StackMap locals: java.io.File[] java.io.File[] java.lang.ClassLoader java.util.Set
StackMap stack:
aload 3
iconst_0
anewarray java.net.URL
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
astore 4
start local 4 38: aload 2
aload 4
invokedynamic run(Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/catalina/startup/ClassLoaderFactory.lambda$0(Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/net/URLClassLoader; (6)
()Ljava/net/URLClassLoader;
39: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 unpacked [Ljava/io/File;
0 40 1 packed [Ljava/io/File;
0 40 2 parent Ljava/lang/ClassLoader;
3 40 3 set Ljava/util/Set<Ljava/net/URL;>;
6 13 4 file Ljava/io/File;
10 13 8 url Ljava/net/URL;
18 35 4 directory Ljava/io/File;
21 35 8 filenames [Ljava/lang/String;
25 33 9 s Ljava/lang/String;
26 33 13 filename Ljava/lang/String;
29 33 14 file Ljava/io/File;
32 33 15 url Ljava/net/URL;
38 40 4 array [Ljava/net/URL;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
unpacked
packed
parent final
public static java.lang.ClassLoader createClassLoader(java.util.List<org.apache.catalina.startup.ClassLoaderFactory$Repository>, java.lang.ClassLoader);
descriptor: (Ljava/util/List;Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=14, args_size=2
start local 0 start local 1 0: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
ldc "Creating new class loader"
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 2
start local 2 3: aload 0
ifnull 62
4: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 61
StackMap locals: java.util.List java.lang.ClassLoader java.util.Set top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.startup.ClassLoaderFactory$Repository
astore 3
start local 3 6: aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getType:()Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.URL:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
if_acmpne 12
7: aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getLocation:()Ljava/lang/String;
invokestatic org.apache.catalina.startup.ClassLoaderFactory.buildClassLoaderUrl:(Ljava/lang/String;)Ljava/net/URL;
astore 5
start local 5 8: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 10
9: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including URL "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
10: StackMap locals: java.util.List java.lang.ClassLoader java.util.Set org.apache.catalina.startup.ClassLoaderFactory$Repository java.util.Iterator java.net.URL
StackMap stack:
aload 2
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 11: goto 61
StackMap locals:
StackMap stack:
12: aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getType:()Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.DIR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
if_acmpne 22
13: new java.io.File
dup
aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getLocation:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 14: aload 5
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 5
15: aload 5
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.DIR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
invokestatic org.apache.catalina.startup.ClassLoaderFactory.validateFile:(Ljava/io/File;Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;)Z
ifne 17
16: goto 61
17: StackMap locals: java.io.File
StackMap stack:
aload 5
invokestatic org.apache.catalina.startup.ClassLoaderFactory.buildClassLoaderUrl:(Ljava/io/File;)Ljava/net/URL;
astore 6
start local 6 18: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 20
19: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including directory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
20: StackMap locals: java.net.URL
StackMap stack:
aload 2
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 21: goto 61
StackMap locals:
StackMap stack:
22: aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getType:()Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.JAR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
if_acmpne 32
23: new java.io.File
dup
aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getLocation:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 24: aload 5
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 5
25: aload 5
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.JAR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
invokestatic org.apache.catalina.startup.ClassLoaderFactory.validateFile:(Ljava/io/File;Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;)Z
ifne 27
26: goto 61
27: StackMap locals: java.io.File
StackMap stack:
aload 5
invokestatic org.apache.catalina.startup.ClassLoaderFactory.buildClassLoaderUrl:(Ljava/io/File;)Ljava/net/URL;
astore 6
start local 6 28: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 30
29: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including jar file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
30: StackMap locals: java.net.URL
StackMap stack:
aload 2
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 31: goto 61
StackMap locals:
StackMap stack:
32: aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getType:()Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.GLOB:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
if_acmpne 61
33: new java.io.File
dup
aload 3
invokevirtual org.apache.catalina.startup.ClassLoaderFactory$Repository.getLocation:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 34: aload 5
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 5
35: aload 5
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.GLOB:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
invokestatic org.apache.catalina.startup.ClassLoaderFactory.validateFile:(Ljava/io/File;Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;)Z
ifne 37
36: goto 61
37: StackMap locals: java.io.File
StackMap stack:
getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 41
38: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including directory glob "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
39: aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
41: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.File.list:()[Ljava/lang/String;
astore 6
start local 6 42: aload 6
ifnonnull 44
43: goto 61
44: StackMap locals: java.lang.String[]
StackMap stack:
aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 60
StackMap locals: java.util.List java.lang.ClassLoader java.util.Set org.apache.catalina.startup.ClassLoaderFactory$Repository java.util.Iterator java.io.File java.lang.String[] top int int java.lang.String[]
StackMap stack:
45: aload 10
iload 8
aaload
astore 7
start local 7 46: aload 7
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 11
start local 11 47: aload 11
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 49
48: goto 59
49: StackMap locals: java.util.List java.lang.ClassLoader java.util.Set org.apache.catalina.startup.ClassLoaderFactory$Repository java.util.Iterator java.io.File java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String
StackMap stack:
new java.io.File
dup
aload 5
aload 7
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 12
start local 12 50: aload 12
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 12
51: aload 12
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.JAR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
invokestatic org.apache.catalina.startup.ClassLoaderFactory.validateFile:(Ljava/io/File;Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;)Z
ifne 53
52: goto 59
53: StackMap locals: java.io.File
StackMap stack:
getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 57
54: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " Including glob jar file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
55: aload 12
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
56: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
57: StackMap locals:
StackMap stack:
aload 12
invokestatic org.apache.catalina.startup.ClassLoaderFactory.buildClassLoaderUrl:(Ljava/io/File;)Ljava/net/URL;
astore 13
start local 13 58: aload 2
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 12 end local 11 end local 7 59: StackMap locals: java.util.List java.lang.ClassLoader java.util.Set org.apache.catalina.startup.ClassLoaderFactory$Repository java.util.Iterator java.io.File java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
60: iload 8
iload 9
if_icmplt 45
end local 6 end local 5 end local 3 61: StackMap locals: java.util.List java.lang.ClassLoader java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
62: StackMap locals: java.util.List java.lang.ClassLoader java.util.Set
StackMap stack:
aload 2
iconst_0
anewarray java.net.URL
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
astore 3
start local 3 63: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 69
64: iconst_0
istore 4
start local 4 65: goto 68
66: StackMap locals: java.net.URL[] int
StackMap stack:
getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc " location "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iload 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
67: iinc 4 1
StackMap locals:
StackMap stack:
68: iload 4
aload 3
arraylength
if_icmplt 66
end local 4 69: StackMap locals:
StackMap stack:
aload 1
aload 3
invokedynamic run(Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/catalina/startup/ClassLoaderFactory.lambda$1(Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/net/URLClassLoader; (6)
()Ljava/net/URLClassLoader;
70: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 repositories Ljava/util/List<Lorg/apache/catalina/startup/ClassLoaderFactory$Repository;>;
0 71 1 parent Ljava/lang/ClassLoader;
3 71 2 set Ljava/util/Set<Ljava/net/URL;>;
6 61 3 repository Lorg/apache/catalina/startup/ClassLoaderFactory$Repository;
8 11 5 url Ljava/net/URL;
14 21 5 directory Ljava/io/File;
18 21 6 url Ljava/net/URL;
24 31 5 file Ljava/io/File;
28 31 6 url Ljava/net/URL;
34 61 5 directory Ljava/io/File;
42 61 6 filenames [Ljava/lang/String;
46 59 7 s Ljava/lang/String;
47 59 11 filename Ljava/lang/String;
50 59 12 file Ljava/io/File;
58 59 13 url Ljava/net/URL;
63 71 3 array [Ljava/net/URL;
65 69 4 i I
Exceptions:
throws java.lang.Exception
Signature: (Ljava/util/List<Lorg/apache/catalina/startup/ClassLoaderFactory$Repository;>;Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
repositories
parent final
private static boolean validateFile(java.io.File, org.apache.catalina.startup.ClassLoaderFactory$RepositoryType);
descriptor: (Ljava/io/File;Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.DIR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
aload 1
if_acmpeq 1
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.GLOB:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
aload 1
if_acmpne 19
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.isDirectory:()Z
ifeq 2
aload 0
invokevirtual java.io.File.canRead:()Z
ifne 26
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Problem with directory ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc "], exists: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.io.File.exists:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
4: ldc "], isDirectory: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.io.File.isDirectory:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
5: ldc "], canRead: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.io.File.canRead:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 7: new java.io.File
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaHome:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 8: aload 3
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 3
9: new java.io.File
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 10: aload 4
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 4
11: new java.io.File
dup
aload 4
ldc "lib"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 5
start local 5 12: aload 3
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
13: aload 0
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aload 5
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
14: aload 0
invokevirtual java.io.File.exists:()Z
ifne 17
15: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
aload 2
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
16: goto 18
17: StackMap locals: java.io.File org.apache.catalina.startup.ClassLoaderFactory$RepositoryType java.lang.String java.io.File java.io.File java.io.File
StackMap stack:
getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
aload 2
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 19: StackMap locals: java.io.File org.apache.catalina.startup.ClassLoaderFactory$RepositoryType
StackMap stack:
getstatic org.apache.catalina.startup.ClassLoaderFactory$RepositoryType.JAR:Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
aload 1
if_acmpne 26
20: aload 0
invokevirtual java.io.File.canRead:()Z
ifne 26
21: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Problem with JAR file ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: ldc "], exists: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.io.File.exists:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
23: ldc "], canRead: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.io.File.canRead:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
25: iconst_0
ireturn
26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 file Ljava/io/File;
0 27 1 type Lorg/apache/catalina/startup/ClassLoaderFactory$RepositoryType;
7 19 2 msg Ljava/lang/String;
8 19 3 home Ljava/io/File;
10 19 4 base Ljava/io/File;
12 19 5 defaultValue Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
type
private static java.net.URL buildClassLoaderUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "!/"
ldc "%21/"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 urlString Ljava/lang/String;
1 2 1 result Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
urlString
private static java.net.URL buildClassLoaderUrl(java.io.File);
descriptor: (Ljava/io/File;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "!/"
ldc "%21/"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
2: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
1 3 1 fileUrlString Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
file
private static java.net.URLClassLoader lambda$0(java.lang.ClassLoader, java.net.URL[]);
descriptor: (Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/net/URLClassLoader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
0: aload 0
ifnonnull 2
1: new java.net.URLClassLoader
dup
aload 1
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
areturn
2: StackMap locals:
StackMap stack:
new java.net.URLClassLoader
dup
aload 1
aload 0
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.net.URLClassLoader lambda$1(java.lang.ClassLoader, java.net.URL[]);
descriptor: (Ljava/lang/ClassLoader;[Ljava/net/URL;)Ljava/net/URLClassLoader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
0: aload 0
ifnonnull 2
1: new java.net.URLClassLoader
dup
aload 1
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
areturn
2: StackMap locals:
StackMap stack:
new java.net.URLClassLoader
dup
aload 1
aload 0
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ClassLoaderFactory.java"
NestMembers:
org.apache.catalina.startup.ClassLoaderFactory$Repository org.apache.catalina.startup.ClassLoaderFactory$RepositoryType
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Repository = org.apache.catalina.startup.ClassLoaderFactory$Repository of org.apache.catalina.startup.ClassLoaderFactory
public final RepositoryType = org.apache.catalina.startup.ClassLoaderFactory$RepositoryType of org.apache.catalina.startup.ClassLoaderFactory