public class org.apache.tomcat.util.log.SystemLogHandler extends java.io.PrintStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.log.SystemLogHandler
super_class: java.io.PrintStream
{
private final java.io.PrintStream out;
descriptor: Ljava/io/PrintStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.ThreadLocal<java.util.Stack<org.apache.tomcat.util.log.CaptureLog>> logs;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Stack<Lorg/apache/tomcat/util/log/CaptureLog;>;>;
private static final java.util.Stack<org.apache.tomcat.util.log.CaptureLog> reuse;
descriptor: Ljava/util/Stack;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Stack<Lorg/apache/tomcat/util/log/CaptureLog;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.apache.tomcat.util.log.SystemLogHandler.logs:Ljava/lang/ThreadLocal;
1: new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putstatic org.apache.tomcat.util.log.SystemLogHandler.reuse:Ljava/util/Stack;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
aload 1
putfield org.apache.tomcat.util.log.SystemLogHandler.out:Ljava/io/PrintStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 3 1 wrapped Ljava/io/PrintStream;
MethodParameters:
Name Flags
wrapped
public static void startCapture();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: getstatic org.apache.tomcat.util.log.SystemLogHandler.reuse:Ljava/util/Stack;
invokevirtual java.util.Stack.isEmpty:()Z
ifne 7
2: getstatic org.apache.tomcat.util.log.SystemLogHandler.reuse:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.log.CaptureLog
astore 0
3: goto 8
StackMap locals: org.apache.tomcat.util.log.CaptureLog
StackMap stack: java.util.EmptyStackException
4: pop
5: new org.apache.tomcat.util.log.CaptureLog
dup
invokespecial org.apache.tomcat.util.log.CaptureLog.<init>:()V
astore 0
6: goto 8
7: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.log.CaptureLog
dup
invokespecial org.apache.tomcat.util.log.CaptureLog.<init>:()V
astore 0
8: StackMap locals:
StackMap stack:
getstatic org.apache.tomcat.util.log.SystemLogHandler.logs:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Stack
astore 1
start local 1 9: aload 1
ifnonnull 12
10: new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
astore 1
11: getstatic org.apache.tomcat.util.log.SystemLogHandler.logs:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
12: StackMap locals: java.util.Stack
StackMap stack:
aload 1
aload 0
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 log Lorg/apache/tomcat/util/log/CaptureLog;
9 14 1 stack Ljava/util/Stack<Lorg/apache/tomcat/util/log/CaptureLog;>;
Exception table:
from to target type
2 3 4 Class java.util.EmptyStackException
public static java.lang.String stopCapture();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: getstatic org.apache.tomcat.util.log.SystemLogHandler.logs:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Stack
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
invokevirtual java.util.Stack.isEmpty:()Z
ifeq 3
2: StackMap locals: java.util.Stack
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.log.CaptureLog
astore 1
start local 1 4: aload 1
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: org.apache.tomcat.util.log.CaptureLog
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.log.CaptureLog.getCapture:()Ljava/lang/String;
astore 2
start local 2 7: aload 1
invokevirtual org.apache.tomcat.util.log.CaptureLog.reset:()V
8: getstatic org.apache.tomcat.util.log.SystemLogHandler.reuse:Ljava/util/Stack;
aload 1
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 stack Ljava/util/Stack<Lorg/apache/tomcat/util/log/CaptureLog;>;
4 10 1 log Lorg/apache/tomcat/util/log/CaptureLog;
7 10 2 capture Ljava/lang/String;
protected java.io.PrintStream findStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=1
start local 0 0: getstatic org.apache.tomcat.util.log.SystemLogHandler.logs:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Stack
astore 1
start local 1 1: aload 1
ifnull 7
aload 1
invokevirtual java.util.Stack.isEmpty:()Z
ifne 7
2: aload 1
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.log.CaptureLog
astore 2
start local 2 3: aload 2
ifnull 7
4: aload 2
invokevirtual org.apache.tomcat.util.log.CaptureLog.getStream:()Ljava/io/PrintStream;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
areturn
end local 3 end local 2 7: StackMap locals: java.util.Stack
StackMap stack:
aload 0
getfield org.apache.tomcat.util.log.SystemLogHandler.out:Ljava/io/PrintStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
1 8 1 stack Ljava/util/Stack<Lorg/apache/tomcat/util/log/CaptureLog;>;
3 7 2 log Lorg/apache/tomcat/util/log/CaptureLog;
5 7 3 ps Ljava/io/PrintStream;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
public boolean checkError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.checkError:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
protected void setError();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.write:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 b I
MethodParameters:
Name Flags
b
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
iload 2
iload 3
invokevirtual java.io.PrintStream.write:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 buf [B
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
buf
off
len
public void print(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.print:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 b Z
MethodParameters:
Name Flags
b
public void print(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.print:(C)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 c C
MethodParameters:
Name Flags
c
public void print(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.print:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 i I
MethodParameters:
Name Flags
i
public void print(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
lload 1
invokevirtual java.io.PrintStream.print:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 l J
MethodParameters:
Name Flags
l
public void print(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
fload 1
invokevirtual java.io.PrintStream.print:(F)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 f F
MethodParameters:
Name Flags
f
public void print(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
dload 1
invokevirtual java.io.PrintStream.print:(D)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 d D
MethodParameters:
Name Flags
d
public void print(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:([C)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 s [C
MethodParameters:
Name Flags
s
public void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void print(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void println();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
public void println(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.println:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x Z
MethodParameters:
Name Flags
x
public void println(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.println:(C)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x C
MethodParameters:
Name Flags
x
public void println(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
iload 1
invokevirtual java.io.PrintStream.println:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x I
MethodParameters:
Name Flags
x
public void println(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
lload 1
invokevirtual java.io.PrintStream.println:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x J
MethodParameters:
Name Flags
x
public void println(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
fload 1
invokevirtual java.io.PrintStream.println:(F)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x F
MethodParameters:
Name Flags
x
public void println(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
dload 1
invokevirtual java.io.PrintStream.println:(D)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x D
MethodParameters:
Name Flags
x
public void println(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:([C)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x [C
MethodParameters:
Name Flags
x
public void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x Ljava/lang/String;
MethodParameters:
Name Flags
x
public void println(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.log.SystemLogHandler.findStream:()Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/log/SystemLogHandler;
0 2 1 x Ljava/lang/Object;
MethodParameters:
Name Flags
x
}
SourceFile: "SystemLogHandler.java"