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=11, 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 16
4: iconst_0
istore 4
start local 4 5: goto 15
6: StackMap locals: java.util.Set int
StackMap stack:
aload 0
iload 4
aaload
astore 5
start local 5 7: aload 5
invokevirtual java.io.File.canRead:()Z
ifne 9
8: goto 14
9: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
new java.lang.StringBuilder
dup
aload 5
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 5
10: aload 5
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 6
start local 6 11: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 13
12: 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
13: StackMap locals: java.net.URL
StackMap stack:
aload 3
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 0
arraylength
if_icmplt 6
end local 4 16: StackMap locals:
StackMap stack:
aload 1
ifnull 39
17: iconst_0
istore 4
start local 4 18: goto 38
19: StackMap locals: int
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 20: aload 5
invokevirtual java.io.File.isDirectory:()Z
ifeq 37
aload 5
invokevirtual java.io.File.canRead:()Z
ifne 22
21: goto 37
22: StackMap locals: java.io.File
StackMap stack:
aload 5
invokevirtual java.io.File.list:()[Ljava/lang/String;
astore 6
start local 6 23: aload 6
ifnonnull 25
24: goto 37
25: StackMap locals: java.lang.String[]
StackMap stack:
iconst_0
istore 7
start local 7 26: goto 36
27: StackMap locals: int
StackMap stack:
aload 6
iload 7
aaload
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 8
start local 8 28: aload 8
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 30
29: goto 35
30: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 5
aload 6
iload 7
aaload
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 31: getstatic org.apache.catalina.startup.ClassLoaderFactory.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 33
32: 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 9
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
33: StackMap locals: java.io.File
StackMap stack:
aload 9
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 10
start local 10 34: aload 3
aload 10
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 8 35: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
36: iload 7
aload 6
arraylength
if_icmplt 27
end local 7 end local 6 end local 5 37: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
38: iload 4
aload 1
arraylength
if_icmplt 19
end local 4 39: StackMap locals:
StackMap stack:
aload 3
aload 3
invokeinterface java.util.Set.size:()I
anewarray java.net.URL
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
astore 4
start local 4 40: new org.apache.catalina.startup.ClassLoaderFactory$1
dup
aload 2
aload 4
invokespecial org.apache.catalina.startup.ClassLoaderFactory$1.<init>:(Ljava/lang/ClassLoader;[Ljava/net/URL;)V
41: 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 42 0 unpacked [Ljava/io/File;
0 42 1 packed [Ljava/io/File;
0 42 2 parent Ljava/lang/ClassLoader;
3 42 3 set Ljava/util/Set<Ljava/net/URL;>;
5 16 4 i I
7 14 5 file Ljava/io/File;
11 14 6 url Ljava/net/URL;
18 39 4 i I
20 37 5 directory Ljava/io/File;
23 37 6 filenames [Ljava/lang/String;
26 37 7 j I
28 35 8 filename Ljava/lang/String;
31 35 9 file Ljava/io/File;
34 35 10 url Ljava/net/URL;
40 42 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=5, locals=11, 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:
iconst_0
istore 7
start local 7 45: goto 60
46: StackMap locals: int
StackMap stack:
aload 6
iload 7
aaload
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 8
start local 8 47: aload 8
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 49
48: goto 59
49: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 5
aload 6
iload 7
aaload
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 50: aload 9
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 9
51: aload 9
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 9
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 9
invokestatic org.apache.catalina.startup.ClassLoaderFactory.buildClassLoaderUrl:(Ljava/io/File;)Ljava/net/URL;
astore 10
start local 10 58: aload 2
aload 10
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 8 59: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
60: iload 7
aload 6
arraylength
if_icmplt 46
end local 7 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
aload 2
invokeinterface java.util.Set.size:()I
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:
new org.apache.catalina.startup.ClassLoaderFactory$2
dup
aload 1
aload 3
invokespecial org.apache.catalina.startup.ClassLoaderFactory$2.<init>:(Ljava/lang/ClassLoader;[Ljava/net/URL;)V
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;
45 61 7 j I
47 59 8 filename Ljava/lang/String;
50 59 9 file Ljava/io/File;
58 59 10 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
}
SourceFile: "ClassLoaderFactory.java"
NestMembers:
org.apache.catalina.startup.ClassLoaderFactory$1 org.apache.catalina.startup.ClassLoaderFactory$2 org.apache.catalina.startup.ClassLoaderFactory$Repository org.apache.catalina.startup.ClassLoaderFactory$RepositoryType
InnerClasses:
org.apache.catalina.startup.ClassLoaderFactory$1
org.apache.catalina.startup.ClassLoaderFactory$2
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