public class io.vertx.core.impl.IsolatingClassLoader extends java.net.URLClassLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.IsolatingClassLoader
super_class: java.net.URLClassLoader
{
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.util.List<java.lang.String> isolatedClasses;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
int refCount;
descriptor: I
flags: (0x0000)
public void <init>(java.net.URL[], java.lang.ClassLoader, java.util.List<java.lang.String>);
descriptor: ([Ljava/net/URL;Ljava/lang/ClassLoader;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
1: aload 0
aload 3
putfield io.vertx.core.impl.IsolatingClassLoader.isolatedClasses:Ljava/util/List;
2: aload 0
iconst_1
putfield io.vertx.core.impl.IsolatingClassLoader.refCount:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 4 1 urls [Ljava/net/URL;
0 4 2 parent Ljava/lang/ClassLoader;
0 4 3 isolatedClasses Ljava/util/List<Ljava/lang/String;>;
Signature: ([Ljava/net/URL;Ljava/lang/ClassLoader;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
urls
parent
isolatedClasses
protected java.lang.Class<?> loadClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.getClassLoadingLock:(Ljava/lang/String;)Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 2: aload 4
ifnonnull 17
3: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.isIsolatedClass:(Ljava/lang/String;)Z
ifeq 16
4: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.isVertxOrSystemClass:(Ljava/lang/String;)Z
ifeq 8
5: aload 0
invokevirtual io.vertx.core.impl.IsolatingClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
6: goto 8
StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String int java.lang.Object java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
7: pop
8: StackMap locals:
StackMap stack:
aload 4
ifnonnull 13
9: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
10: goto 13
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
11: pop
12: aload 0
invokevirtual io.vertx.core.impl.IsolatingClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
13: StackMap locals:
StackMap stack:
iload 2
ifeq 17
14: aload 0
aload 4
invokevirtual io.vertx.core.impl.IsolatingClassLoader.resolveClass:(Ljava/lang/Class;)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokespecial java.net.URLClassLoader.loadClass:(Ljava/lang/String;Z)Ljava/lang/Class;
astore 4
17: StackMap locals:
StackMap stack:
aload 4
aload 3
monitorexit
18: areturn
end local 4 19: StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String int java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
20: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 21 1 name Ljava/lang/String;
0 21 2 resolve Z
2 19 4 c Ljava/lang/Class<*>;
Exception table:
from to target type
5 6 7 Class java.lang.ClassNotFoundException
9 10 11 Class java.lang.ClassNotFoundException
1 18 19 any
19 20 19 any
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
resolve
private boolean isIsolatedClass(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.impl.IsolatingClassLoader.isolatedClasses:Ljava/util/List;
ifnull 11
1: aload 0
getfield io.vertx.core.impl.IsolatingClassLoader.isolatedClasses:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
ldc ".*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
4: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 5: aload 1
iconst_0
aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 6: aload 5
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
7: iconst_1
ireturn
end local 5 end local 4 8: StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iconst_1
ireturn
end local 2 10: StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: StackMap locals: io.vertx.core.impl.IsolatingClassLoader java.lang.String
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 12 1 name Ljava/lang/String;
3 10 2 isolated Ljava/lang/String;
5 8 4 isolatedPackage Ljava/lang/String;
6 8 5 paramPackage Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.net.URL getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
aload 1
invokespecial java.net.URLClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
3: StackMap locals: java.net.URL
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 4 1 name Ljava/lang/String;
1 4 2 url Ljava/net/URL;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.net.URL> getResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.impl.IsolatingClassLoader.findResources:(Ljava/lang/String;)Ljava/util/Enumeration;
invokestatic java.util.Collections.list:(Ljava/util/Enumeration;)Ljava/util/ArrayList;
astore 2
start local 2 1: aload 0
invokevirtual io.vertx.core.impl.IsolatingClassLoader.getParent:()Ljava/lang/ClassLoader;
ifnull 5
2: aload 0
invokevirtual io.vertx.core.impl.IsolatingClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 3: aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 5
4: aload 2
aload 3
invokestatic java.util.Collections.list:(Ljava/util/Enumeration;)Ljava/util/ArrayList;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 3 5: StackMap locals: java.util.List
StackMap stack:
aload 2
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 6 1 name Ljava/lang/String;
1 6 2 resources Ljava/util/List<Ljava/net/URL;>;
3 5 3 parentResources Ljava/util/Enumeration<Ljava/net/URL;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.vertx.core.impl.IsolatingClassLoader.closed:Z
1: aload 0
invokespecial java.net.URLClassLoader.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/IsolatingClassLoader;
Exceptions:
throws java.io.IOException
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.IsolatingClassLoader.closed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/IsolatingClassLoader;
private boolean isVertxOrSystemClass(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "java."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
1: aload 1
ldc "javax."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
2: aload 1
ldc "sun.*"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
3: aload 1
ldc "com.sun."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
4: aload 1
ldc "io.vertx.core"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
5: aload 1
ldc "io.netty."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
6: aload 1
ldc "com.fasterxml.jackson"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
7: iconst_0
ireturn
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/impl/IsolatingClassLoader;
0 9 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "IsolatingClassLoader.java"