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=1, locals=0, args_size=0
0: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
ifnonnull 2
1: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/font/CreatedFontTracker$TempFileDeletionHook.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
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
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=8, locals=1, args_size=0
0: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
astore 0
start local 0 1: new java.lang.Thread
dup
aload 0
invokedynamic run()Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/font/CreatedFontTracker$TempFileDeletionHook.runHooks()V (6)
()V
2: ldc "TempFontFileDeleter"
lconst_0
iconst_0
3: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
putstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
4: getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
5: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
getstatic sun.font.CreatedFontTracker$TempFileDeletionHook.t:Ljava/lang/Thread;
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 rootTG Ljava/lang/ThreadGroup;
}
SourceFile: "CreatedFontTracker.java"
NestHost: sun.font.CreatedFontTracker
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
private TempFileDeletionHook = sun.font.CreatedFontTracker$TempFileDeletionHook of sun.font.CreatedFontTracker