public class com.sun.media.jfxmedia.logging.Logger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.media.jfxmedia.logging.Logger
super_class: java.lang.Object
{
public static final int OFF;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483647
public static final int ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int WARNING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int INFO;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int DEBUG;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static int currentLevel;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long startTime;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 2147483647
putstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
1: lconst_0
putstatic com.sun.media.jfxmedia.logging.Logger.startTime:J
2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.sun.media.jfxmedia.logging.Logger.lock:Ljava/lang/Object;
3: invokestatic com.sun.media.jfxmedia.logging.Logger.startLogger:()V
4: return
LocalVariableTable:
Start End Slot Name Signature
private static void startLogger();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc "jfxmedia.loglevel"
ldc "off"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "debug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
start local 0 3: goto 14
end local 0 StackMap locals: top java.lang.String
StackMap stack:
4: aload 1
ldc "warning"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
start local 0 6: goto 14
end local 0 StackMap locals:
StackMap stack:
7: aload 1
ldc "error"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
start local 0 9: goto 14
end local 0 StackMap locals:
StackMap stack:
10: aload 1
ldc "info"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
start local 0 12: goto 14
end local 0 13: StackMap locals:
StackMap stack:
ldc 2147483647
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 0
start local 0 14: StackMap locals: java.lang.Integer java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.Integer.intValue:()I
invokestatic com.sun.media.jfxmedia.logging.Logger.setLevel:(I)V
15: invokestatic java.lang.System.currentTimeMillis:()J
putstatic com.sun.media.jfxmedia.logging.Logger.startTime:J
end local 1 end local 0 16: goto 18
StackMap locals:
StackMap stack: java.lang.Exception
17: pop
18: StackMap locals:
StackMap stack:
iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 20
19: iconst_1
ldc "Logger initialized"
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
20: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 logLevel Ljava/lang/Integer;
6 7 0 logLevel Ljava/lang/Integer;
9 10 0 logLevel Ljava/lang/Integer;
12 13 0 logLevel Ljava/lang/Integer;
14 16 0 logLevel Ljava/lang/Integer;
1 16 1 level Ljava/lang/String;
Exception table:
from to target type
0 16 17 Class java.lang.Exception
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmedia/logging/Logger;
public static boolean initNative();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.media.jfxmedia.logging.Logger.nativeInit:()Z
ifeq 3
1: getstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
invokestatic com.sun.media.jfxmedia.logging.Logger.nativeSetNativeLevel:(I)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static native boolean nativeInit();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static void setLevel(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
1: iload 0
invokestatic com.sun.media.jfxmedia.logging.Logger.nativeSetNativeLevel:(I)V
2: goto 4
StackMap locals:
StackMap stack: java.lang.UnsatisfiedLinkError
3: pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 level I
Exception table:
from to target type
1 2 3 Class java.lang.UnsatisfiedLinkError
MethodParameters:
Name Flags
level
private static native void nativeSetNativeLevel(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
level
public static boolean canLog(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 level I
MethodParameters:
Name Flags
level
public static void logMsg(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.media.jfxmedia.logging.Logger.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: iload 0
getstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
if_icmpge 4
2: aload 2
monitorexit
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
iload 0
iconst_4
if_icmpne 7
5: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.sun.media.jfxmedia.logging.Logger.getTimestamp:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: goto 15
StackMap locals:
StackMap stack:
7: iload 0
iconst_3
if_icmpne 10
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.sun.media.jfxmedia.logging.Logger.getTimestamp:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: goto 15
StackMap locals:
StackMap stack:
10: iload 0
iconst_2
if_icmpne 13
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Info ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.sun.media.jfxmedia.logging.Logger.getTimestamp:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: goto 15
StackMap locals:
StackMap stack:
13: iload 0
iconst_1
if_icmpne 15
14: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Debug ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.sun.media.jfxmedia.logging.Logger.getTimestamp:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 2
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 2
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 level I
0 20 1 msg Ljava/lang/String;
Exception table:
from to target type
1 3 17 any
4 16 17 any
17 18 17 any
MethodParameters:
Name Flags
level
msg
public static void logMsg(int, java.lang.String, java.lang.String, java.lang.String);
descriptor: (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.media.jfxmedia.logging.Logger.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
1: iload 0
getstatic com.sun.media.jfxmedia.logging.Logger.currentLevel:I
if_icmpge 4
2: aload 4
monitorexit
3: return
4: StackMap locals: java.lang.Object
StackMap stack:
iload 0
new java.lang.StringBuilder
dup
aload 1
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;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "() "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
5: aload 4
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 4
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 level I
0 10 1 sourceClass Ljava/lang/String;
0 10 2 sourceMethod Ljava/lang/String;
0 10 3 msg Ljava/lang/String;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
MethodParameters:
Name Flags
level
sourceClass
sourceMethod
msg
private static java.lang.String getTimestamp();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, args_size=0
0: invokestatic java.lang.System.currentTimeMillis:()J
getstatic com.sun.media.jfxmedia.logging.Logger.startTime:J
lsub
lstore 0
start local 0 1: lload 0
ldc 3600000
ldiv
lstore 2
start local 2 2: lload 0
lload 2
ldc 60
lmul
ldc 60
lmul
ldc 1000
lmul
lsub
ldc 60000
ldiv
lstore 4
start local 4 3: lload 0
lload 2
ldc 60
lmul
ldc 60
lmul
ldc 1000
lmul
lsub
lload 4
ldc 60
lmul
ldc 1000
lmul
lsub
ldc 1000
ldiv
lstore 6
start local 6 4: lload 0
lload 2
ldc 60
lmul
ldc 60
lmul
ldc 1000
lmul
lsub
lload 4
ldc 60
lmul
ldc 1000
lmul
lsub
lload 6
ldc 1000
lmul
lsub
lstore 8
start local 8 5: ldc "%d:%02d:%02d:%03d"
iconst_4
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 elapsed J
2 6 2 elapsedHours J
3 6 4 elapsedMinutes J
4 6 6 elapsedSeconds J
5 6 8 elapsedMillis J
}
SourceFile: "Logger.java"