class sun.rmi.runtime.Log$LoggerPrintStream extends java.io.PrintStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.runtime.Log$LoggerPrintStream
super_class: java.io.PrintStream
{
private final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int last;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.io.ByteArrayOutputStream bufOut;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.util.logging.Logger);
descriptor: (Ljava/util/logging/Logger;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 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
iconst_m1
putfield sun.rmi.runtime.Log$LoggerPrintStream.last:I
2: aload 0
aload 0
getfield java.io.PrintStream.out:Ljava/io/OutputStream;
checkcast java.io.ByteArrayOutputStream
putfield sun.rmi.runtime.Log$LoggerPrintStream.bufOut:Ljava/io/ByteArrayOutputStream;
3: aload 0
aload 1
putfield sun.rmi.runtime.Log$LoggerPrintStream.logger:Ljava/util/logging/Logger;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/runtime/Log$LoggerPrintStream;
0 5 1 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
logger
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.runtime.Log$LoggerPrintStream.last:I
bipush 13
if_icmpne 3
iload 1
bipush 10
if_icmpne 3
1: aload 0
iconst_m1
putfield sun.rmi.runtime.Log$LoggerPrintStream.last:I
2: return
3: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpeq 4
iload 1
bipush 13
if_icmpne 15
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield sun.rmi.runtime.Log$LoggerPrintStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: astore 2
start local 2 8: aload 0
getfield sun.rmi.runtime.Log$LoggerPrintStream.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
ldc "LogStream"
ldc "print"
aload 2
invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 2 9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 0
getfield sun.rmi.runtime.Log$LoggerPrintStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.runtime.Log$LoggerPrintStream.bufOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial java.io.PrintStream.write:(I)V
16: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.rmi.runtime.Log$LoggerPrintStream.last:I
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/rmi/runtime/Log$LoggerPrintStream;
0 18 1 b I
8 9 2 message Ljava/lang/String;
Exception table:
from to target type
4 10 10 any
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 sun.rmi.runtime.Log$LoggerPrintStream.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 Lsun/rmi/runtime/Log$LoggerPrintStream;
0 8 1 b [B
0 8 2 off I
0 8 3 len I
3 7 4 i I
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: ldc "RMI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/runtime/Log$LoggerPrintStream;
}
SourceFile: "Log.java"
NestHost: sun.rmi.runtime.Log
InnerClasses:
private LoggerPrintStream = sun.rmi.runtime.Log$LoggerPrintStream of sun.rmi.runtime.Log