public class org.eclipse.jetty.util.thread.ThreadClassLoaderScope implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.thread.ThreadClassLoaderScope
super_class: java.lang.Object
{
private final java.lang.ClassLoader old;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader scopedClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
start local 1 // java.lang.ClassLoader cl
0: .line 28
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 30
aload 0 /* this */
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
putfield org.eclipse.jetty.util.thread.ThreadClassLoaderScope.old:Ljava/lang/ClassLoader;
2: .line 31
aload 0 /* this */
aload 1 /* cl */
putfield org.eclipse.jetty.util.thread.ThreadClassLoaderScope.scopedClassLoader:Ljava/lang/ClassLoader;
3: .line 32
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0 /* this */
getfield org.eclipse.jetty.util.thread.ThreadClassLoaderScope.scopedClassLoader:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
4: .line 33
return
end local 1 // java.lang.ClassLoader cl
end local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/ThreadClassLoaderScope;
0 5 1 cl Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
cl
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
0: .line 38
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0 /* this */
getfield org.eclipse.jetty.util.thread.ThreadClassLoaderScope.old:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
1: .line 39
return
end local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ThreadClassLoaderScope;
public java.lang.ClassLoader getScopedClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
0: .line 43
aload 0 /* this */
getfield org.eclipse.jetty.util.thread.ThreadClassLoaderScope.scopedClassLoader:Ljava/lang/ClassLoader;
areturn
end local 0 // org.eclipse.jetty.util.thread.ThreadClassLoaderScope this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/ThreadClassLoaderScope;
}
SourceFile: "ThreadClassLoaderScope.java"