public class org.eclipse.jetty.util.ClassLoadingObjectInputStream extends java.io.ObjectInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.ClassLoadingObjectInputStream
super_class: java.io.ObjectInputStream
{
private java.lang.ThreadLocal<java.lang.ClassLoader> _classloader;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ThreadLocal<Ljava/lang/ClassLoader;>;
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.ObjectInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
new org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal
dup
invokespecial org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal.<init>:()V
putfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/ClassLoadingObjectInputStream;
0 3 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
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.io.ObjectInputStream.<init>:()V
1: aload 0
new org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal
dup
invokespecial org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal.<init>:()V
putfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/ClassLoadingObjectInputStream;
Exceptions:
throws java.io.IOException
public java.lang.Object readObject(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
1: aload 0
invokevirtual org.eclipse.jetty.util.ClassLoadingObjectInputStream.readObject:()Ljava/lang/Object;
astore 3
2: aload 0
getfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
getstatic org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal.UNSET:Ljava/lang/ClassLoader;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: aload 3
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
5: aload 0
getfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
getstatic org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal.UNSET:Ljava/lang/ClassLoader;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
6: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/ClassLoadingObjectInputStream;
0 7 1 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 2 4 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
loader
public java.lang.Class<?> resolveClass(java.io.ObjectStreamClass);
descriptor: (Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.ClassLoadingObjectInputStream._classloader:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 2
start local 2 1: getstatic org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal.UNSET:Ljava/lang/ClassLoader;
aload 2
if_acmpne 3
2: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 1
invokevirtual java.io.ObjectStreamClass.getName:()Ljava/lang/String;
iconst_0
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
4: areturn
end local 2 5: StackMap locals: org.eclipse.jetty.util.ClassLoadingObjectInputStream java.io.ObjectStreamClass
StackMap stack: java.lang.ClassNotFoundException
pop
6: aload 0
aload 1
invokespecial java.io.ObjectInputStream.resolveClass:(Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/ClassLoadingObjectInputStream;
0 7 1 cl Ljava/io/ObjectStreamClass;
1 5 2 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 4 5 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
Signature: (Ljava/io/ObjectStreamClass;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cl
protected java.lang.Class<?> resolveProxyClass(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
arraylength
anewarray java.lang.Class
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 17
6: StackMap locals: org.eclipse.jetty.util.ClassLoadingObjectInputStream java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader int java.lang.Class[] int
StackMap stack:
aload 1
iload 6
aaload
iconst_0
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 7
start local 7 7: aload 7
invokevirtual java.lang.Class.getModifiers:()I
iconst_1
iand
ifne 15
8: iload 4
ifeq 13
9: aload 3
aload 7
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpeq 15
10: new java.lang.IllegalAccessError
dup
11: ldc "conflicting non-public interface class loaders"
12: invokespecial java.lang.IllegalAccessError.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: java.lang.Class
StackMap stack:
aload 7
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
14: iconst_1
istore 4
15: StackMap locals:
StackMap stack:
aload 5
iload 6
aload 7
aastore
end local 7 16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 1
arraylength
if_icmplt 6
end local 6 18: iload 4
ifeq 19
aload 3
goto 20
StackMap locals:
StackMap stack:
19: aload 2
StackMap locals:
StackMap stack: java.lang.ClassLoader
20: aload 5
invokestatic java.lang.reflect.Proxy.getProxyClass:(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;
21: areturn
22: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 6
start local 6 23: new java.lang.ClassNotFoundException
dup
aconst_null
aload 6
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 24 0 this Lorg/eclipse/jetty/util/ClassLoadingObjectInputStream;
0 24 1 interfaces [Ljava/lang/String;
1 24 2 loader Ljava/lang/ClassLoader;
2 24 3 nonPublicLoader Ljava/lang/ClassLoader;
3 24 4 hasNonPublicInterface Z
4 24 5 classObjs [Ljava/lang/Class;
5 18 6 i I
7 16 7 cl Ljava/lang/Class<*>;
23 24 6 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
18 21 22 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
Signature: ([Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
interfaces
}
SourceFile: "ClassLoadingObjectInputStream.java"
NestMembers:
org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal$1
InnerClasses:
protected ClassLoaderThreadLocal = org.eclipse.jetty.util.ClassLoadingObjectInputStream$ClassLoaderThreadLocal of org.eclipse.jetty.util.ClassLoadingObjectInputStream