public class java.rmi.server.LogStream extends java.io.PrintStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.rmi.server.LogStream
super_class: java.io.PrintStream
{
private static java.util.Map<java.lang.String, java.rmi.server.LogStream> known;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/rmi/server/LogStream;>;
private static java.io.PrintStream defaultStream;
descriptor: Ljava/io/PrintStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.io.OutputStream logOut;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private java.io.OutputStreamWriter logWriter;
descriptor: Ljava/io/OutputStreamWriter;
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuffer buffer;
descriptor: Ljava/lang/StringBuffer;
flags: (0x0002) ACC_PRIVATE
private java.io.ByteArrayOutputStream bufOut;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
public static final int SILENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int BRIEF;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final int VERBOSE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 20
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.HashMap
dup
iconst_5
invokespecial java.util.HashMap.<init>:(I)V
putstatic java.rmi.server.LogStream.known:Ljava/util/Map;
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
putstatic java.rmi.server.LogStream.defaultStream:Ljava/io/PrintStream;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
putfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
2: aload 0
aload 0
getfield java.io.PrintStream.out:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
putfield java.rmi.server.LogStream.bufOut:Ljava/io/ByteArrayOutputStream;
3: aload 0
aload 1
putfield java.rmi.server.LogStream.name:Ljava/lang/String;
4: aload 0
aload 2
invokevirtual java.rmi.server.LogStream.setOutputStream:(Ljava/io/OutputStream;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/rmi/server/LogStream;
0 6 1 name Ljava/lang/String;
0 6 2 out Ljava/io/OutputStream;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
out
public static java.rmi.server.LogStream log(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/rmi/server/LogStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: getstatic java.rmi.server.LogStream.known:Ljava/util/Map;
dup
astore 2
monitorenter
1: getstatic java.rmi.server.LogStream.known:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.rmi.server.LogStream
astore 1
start local 1 2: aload 1
ifnonnull 4
3: new java.rmi.server.LogStream
dup
aload 0
getstatic java.rmi.server.LogStream.defaultStream:Ljava/io/PrintStream;
invokespecial java.rmi.server.LogStream.<init>:(Ljava/lang/String;Ljava/io/OutputStream;)V
astore 1
4: StackMap locals: java.rmi.server.LogStream java.util.Map
StackMap stack:
getstatic java.rmi.server.LogStream.known:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
monitorexit
6: goto 9
end local 1 StackMap locals: java.lang.String top java.util.Map
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
start local 1 9: StackMap locals: java.lang.String java.rmi.server.LogStream
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 name Ljava/lang/String;
2 7 1 stream Ljava/rmi/server/LogStream;
9 10 1 stream Ljava/rmi/server/LogStream;
Exception table:
from to target type
1 6 7 any
7 8 7 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
public static synchronized java.io.PrintStream getDefaultStream();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic java.rmi.server.LogStream.defaultStream:Ljava/io/PrintStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static synchronized void setDefaultStream(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
3: new java.util.logging.LoggingPermission
dup
ldc "control"
aconst_null
invokespecial java.util.logging.LoggingPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
4: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic java.rmi.server.LogStream.defaultStream:Ljava/io/PrintStream;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 newDefault Ljava/io/PrintStream;
1 7 1 sm Ljava/lang/SecurityManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
newDefault
public synchronized java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/rmi/server/LogStream;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public synchronized void setOutputStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
1: aload 0
new java.io.OutputStreamWriter
dup
aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
putfield java.rmi.server.LogStream.logWriter:Ljava/io/OutputStreamWriter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/rmi/server/LogStream;
0 3 1 out Ljava/io/OutputStream;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
out
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iload 1
bipush 10
if_icmpne 33
1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
dup
astore 3
monitorenter
3: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
iconst_0
invokevirtual java.lang.StringBuffer.setLength:(I)V
4: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
5: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.toString:()Ljava/lang/String;
6: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
aload 0
getfield java.rmi.server.LogStream.name:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
10: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: aload 0
getfield java.rmi.server.LogStream.logWriter:Ljava/io/OutputStreamWriter;
aload 0
getfield java.rmi.server.LogStream.buffer:Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
13: aload 0
getfield java.rmi.server.LogStream.logWriter:Ljava/io/OutputStreamWriter;
invokevirtual java.io.OutputStreamWriter.flush:()V
14: aload 0
getfield java.rmi.server.LogStream.bufOut:Ljava/io/ByteArrayOutputStream;
aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
invokevirtual java.io.ByteArrayOutputStream.writeTo:(Ljava/io/OutputStream;)V
15: aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
16: aload 0
getfield java.rmi.server.LogStream.logOut:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
17: goto 24
StackMap locals: java.rmi.server.LogStream int java.rmi.server.LogStream java.io.OutputStream
StackMap stack: java.io.IOException
18: pop
19: aload 0
invokevirtual java.rmi.server.LogStream.setError:()V
20: aload 0
getfield java.rmi.server.LogStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
goto 25
21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
22: aload 0
getfield java.rmi.server.LogStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
23: aload 4
athrow
24: StackMap locals:
StackMap stack:
aload 0
getfield java.rmi.server.LogStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
25: StackMap locals:
StackMap stack:
aload 3
monitorexit
26: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
27: aload 3
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
aload 2
monitorexit
30: goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 2
monitorexit
32: athrow
33: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial java.io.PrintStream.write:(I)V
34: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljava/rmi/server/LogStream;
0 35 1 b I
Exception table:
from to target type
12 17 18 Class java.io.IOException
12 20 21 any
3 26 27 any
27 28 27 any
2 30 31 any
31 32 31 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifge 2
1: new java.lang.ArrayIndexOutOfBoundsException
dup
iload 3
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 4
iadd
baload
invokevirtual java.rmi.server.LogStream.write:(I)V
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 3
if_icmplt 4
end local 4 7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/rmi/server/LogStream;
0 8 1 b [B
0 8 2 off I
0 8 3 len I
3 7 4 i I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
b
off
len
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.rmi.server.LogStream.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/rmi/server/LogStream;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static int parseLevel(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 2
1: StackMap locals:
StackMap stack:
iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
3: ireturn
4: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
5: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
ldc "SILENT"
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
ldc "BRIEF"
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
10: bipush 10
ireturn
11: StackMap locals:
StackMap stack:
ldc "VERBOSE"
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: bipush 20
ireturn
13: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 s Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
s
}
SourceFile: "LogStream.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()