class sun.font.CreatedFontTracker$TempFileDeletionHook
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.font.CreatedFontTracker$TempFileDeletionHook
super_class: java.lang.Object
{
private static java.util.HashMap<java.io.File, java.io.OutputStream> files;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/io/File;Ljava/io/OutputStream;>;
private static java.lang.Thread t;
descriptor: Ljava/lang/Thread;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
1: aconst_null
putstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
return
LocalVariableTable:
Start End Slot Name Signature
static void init();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
ifnonnull 2
1: new sun.font.CreatedFontTracker$TempFileDeletionHook$1
dup
invokespecial sun.font.CreatedFontTracker$TempFileDeletionHook$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/CreatedFontTracker$TempFileDeletionHook;
static synchronized void add(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic sun.font.CreatedFontTracker$TempFileDeletionHook.init:()V
1: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
aload 0
aconst_null
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
static synchronized void set(java.io.File, java.io.OutputStream);
descriptor: (Ljava/io/File;Ljava/io/OutputStream;)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
aload 0
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljava/io/File;
0 2 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
file
os
static synchronized void remove(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
static synchronized void runHooks();
descriptor: ()V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=0
0: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
invokevirtual java.util.HashMap.isEmpty:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.files:Ljava/util/HashMap;
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 9
StackMap locals: top java.util.Iterator
StackMap stack:
3: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 0
start local 0 4: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
ifnull 8
5: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.io.OutputStream
invokevirtual java.io.OutputStream.close:()V
6: goto 8
StackMap locals: java.util.Map$Entry java.util.Iterator
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.io.File
invokevirtual java.io.File.delete:()Z
pop
end local 0 9: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: return
LocalVariableTable:
Start End Slot Name Signature
4 9 0 entry Ljava/util/Map$Entry<Ljava/io/File;Ljava/io/OutputStream;>;
Exception table:
from to target type
4 6 7 Class java.lang.Exception
}
SourceFile: "CreatedFontTracker.java"
NestHost: sun.font.CreatedFontTracker
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private TempFileDeletionHook = sun.font.CreatedFontTracker$TempFileDeletionHook of sun.font.CreatedFontTracker
sun.font.CreatedFontTracker$TempFileDeletionHook$1