final class com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler extends java.util.logging.Handler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler
super_class: java.util.logging.Handler
{
private static final java.util.logging.Handler INSTANCE;
descriptor: Ljava/util/logging/Handler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.logging.Handler fallBackHandler;
descriptor: Ljava/util/logging/Handler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler
dup
invokespecial com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.<init>:()V
putstatic com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.INSTANCE:Ljava/util/logging/Handler;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.logging.Handler.<init>:()V
1: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.fallBackHandler:Ljava/util/logging/Handler;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotLoggers$PolyglotLogHandler;
void <init>(com.oracle.truffle.polyglot.PolyglotEngineImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.logging.Handler.<init>:()V
1: aload 0
aload 1
getfield com.oracle.truffle.polyglot.PolyglotEngineImpl.logHandler:Ljava/util/logging/Handler;
putfield com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.fallBackHandler:Ljava/util/logging/Handler;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotLoggers$PolyglotLogHandler;
0 3 1 engine Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
MethodParameters:
Name Flags
engine
public void publish(java.util.logging.LogRecord);
descriptor: (Ljava/util/logging/LogRecord;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.findDelegate:()Ljava/util/logging/Handler;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
getfield com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.fallBackHandler:Ljava/util/logging/Handler;
astore 2
3: StackMap locals: java.util.logging.Handler
StackMap stack:
aload 2
ifnull 5
4: aload 2
aload 1
invokevirtual java.util.logging.Handler.publish:(Ljava/util/logging/LogRecord;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/polyglot/PolyglotLoggers$PolyglotLogHandler;
0 6 1 record Ljava/util/logging/LogRecord;
1 6 2 handler Ljava/util/logging/Handler;
MethodParameters:
Name Flags
record final
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.findDelegate:()Ljava/util/logging/Handler;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.util.logging.Handler.flush:()V
3: StackMap locals: java.util.logging.Handler
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotLoggers$PolyglotLogHandler;
1 4 1 handler Ljava/util/logging/Handler;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler.findDelegate:()Ljava/util/logging/Handler;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.util.logging.Handler.close:()V
3: StackMap locals: java.util.logging.Handler
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotLoggers$PolyglotLogHandler;
1 4 1 handler Ljava/util/logging/Handler;
Exceptions:
throws java.lang.SecurityException
private static java.util.logging.Handler findDelegate();
descriptor: ()Ljava/util/logging/Handler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic com.oracle.truffle.polyglot.PolyglotLoggers.getCurrentOuterContext:()Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextImpl.config:Lcom/oracle/truffle/polyglot/PolyglotContextConfig;
getfield com.oracle.truffle.polyglot.PolyglotContextConfig.logHandler:Ljava/util/logging/Handler;
goto 3
StackMap locals: com.oracle.truffle.polyglot.PolyglotContextImpl
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.util.logging.Handler
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 currentContext Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
}
SourceFile: "PolyglotLoggers.java"
NestHost: com.oracle.truffle.polyglot.PolyglotLoggers
InnerClasses:
private final PolyglotLogHandler = com.oracle.truffle.polyglot.PolyglotLoggers$PolyglotLogHandler of com.oracle.truffle.polyglot.PolyglotLoggers