final class com.sun.prism.j2d.J2DFontFactory implements com.sun.javafx.font.FontFactory
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.j2d.J2DFontFactory
super_class: java.lang.Object
{
com.sun.javafx.font.FontFactory prismFontFactory;
descriptor: Lcom/sun/javafx/font/FontFactory;
flags: (0x0000)
private static boolean compositeFontMethodsInitialized;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method getCompositeFontUIResource;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.sun.prism.j2d.J2DFontFactory.compositeFontMethodsInitialized:Z
1: aconst_null
putstatic com.sun.prism.j2d.J2DFontFactory.getCompositeFontUIResource:Ljava/lang/reflect/Method;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.javafx.font.FontFactory);
descriptor: (Lcom/sun/javafx/font/FontFactory;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 3 1 fontFactory Lcom/sun/javafx/font/FontFactory;
MethodParameters:
Name Flags
fontFactory
public com.sun.javafx.font.PGFont createFont(java.lang.String, float);
descriptor: (Ljava/lang/String;F)Lcom/sun/javafx/font/PGFont;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
fload 2
invokeinterface com.sun.javafx.font.FontFactory.createFont:(Ljava/lang/String;F)Lcom/sun/javafx/font/PGFont;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 1 1 name Ljava/lang/String;
0 1 2 size F
MethodParameters:
Name Flags
name
size
public com.sun.javafx.font.PGFont createFont(java.lang.String, boolean, boolean, float);
descriptor: (Ljava/lang/String;ZZF)Lcom/sun/javafx/font/PGFont;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
iload 2
iload 3
fload 4
invokeinterface com.sun.javafx.font.FontFactory.createFont:(Ljava/lang/String;ZZF)Lcom/sun/javafx/font/PGFont;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 1 1 family Ljava/lang/String;
0 1 2 bold Z
0 1 3 italic Z
0 1 4 size F
MethodParameters:
Name Flags
family
bold
italic
size
public synchronized com.sun.javafx.font.PGFont deriveFont(com.sun.javafx.font.PGFont, boolean, boolean, float);
descriptor: (Lcom/sun/javafx/font/PGFont;ZZF)Lcom/sun/javafx/font/PGFont;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
iload 2
iload 3
fload 4
invokeinterface com.sun.javafx.font.FontFactory.deriveFont:(Lcom/sun/javafx/font/PGFont;ZZF)Lcom/sun/javafx/font/PGFont;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 1 1 font Lcom/sun/javafx/font/PGFont;
0 1 2 bold Z
0 1 3 italic Z
0 1 4 size F
MethodParameters:
Name Flags
font
bold
italic
size
public java.lang.String[] getFontFamilyNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
invokeinterface com.sun.javafx.font.FontFactory.getFontFamilyNames:()[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
public java.lang.String[] getFontFullNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
invokeinterface com.sun.javafx.font.FontFactory.getFontFullNames:()[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
public java.lang.String[] getFontFullNames(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
invokeinterface com.sun.javafx.font.FontFactory.getFontFullNames:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 1 1 family Ljava/lang/String;
MethodParameters:
Name Flags
family
public boolean isPlatformFont(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
invokeinterface com.sun.javafx.font.FontFactory.isPlatformFont:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public final boolean hasPermission();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
invokeinterface com.sun.javafx.font.FontFactory.hasPermission:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DFontFactory;
public com.sun.javafx.font.PGFont[] loadEmbeddedFont(java.lang.String, java.io.InputStream, float, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;FZZ)[Lcom/sun/javafx/font/PGFont;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.sun.prism.j2d.J2DFontFactory.hasPermission:()Z
ifne 4
1: iconst_1
anewarray com.sun.javafx.font.PGFont
astore 6
start local 6 2: aload 6
iconst_0
aload 0
ldc "System Regular"
fload 3
invokevirtual com.sun.prism.j2d.J2DFontFactory.createFont:(Ljava/lang/String;F)Lcom/sun/javafx/font/PGFont;
aastore
3: aload 6
areturn
end local 6 4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
aload 2
5: fload 3
iload 4
iload 5
6: invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/io/InputStream;FZZ)[Lcom/sun/javafx/font/PGFont;
7: astore 6
start local 6 8: aload 6
ifnull 9
aload 6
arraylength
ifne 10
StackMap locals: com.sun.javafx.font.PGFont[]
StackMap stack:
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 6
iconst_0
aaload
invokeinterface com.sun.javafx.font.PGFont.getFontResource:()Lcom/sun/javafx/font/FontResource;
pop
11: aload 6
iconst_0
aaload
invokeinterface com.sun.javafx.font.PGFont.getFontResource:()Lcom/sun/javafx/font/FontResource;
invokestatic com.sun.prism.j2d.J2DFontFactory.registerFont:(Lcom/sun/javafx/font/FontResource;)V
12: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 13 1 name Ljava/lang/String;
0 13 2 fontStream Ljava/io/InputStream;
0 13 3 size F
0 13 4 register Z
0 13 5 loadAll Z
2 4 6 fonts [Lcom/sun/javafx/font/PGFont;
8 13 6 fonts [Lcom/sun/javafx/font/PGFont;
MethodParameters:
Name Flags
name
fontStream
size
register
loadAll
public static void registerFont(com.sun.javafx.font.FontResource);
descriptor: (Lcom/sun/javafx/font/FontResource;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic run(Lcom/sun/javafx/font/FontResource;)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;
com/sun/prism/j2d/J2DFontFactory.lambda$0(Lcom/sun/javafx/font/FontResource;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fr Lcom/sun/javafx/font/FontResource;
MethodParameters:
Name Flags
fr final
public com.sun.javafx.font.PGFont[] loadEmbeddedFont(java.lang.String, java.lang.String, float, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;FZZ)[Lcom/sun/javafx/font/PGFont;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.sun.prism.j2d.J2DFontFactory.hasPermission:()Z
ifne 4
1: iconst_1
anewarray com.sun.javafx.font.PGFont
astore 6
start local 6 2: aload 6
iconst_0
aload 0
ldc "System Regular"
fload 3
invokevirtual com.sun.prism.j2d.J2DFontFactory.createFont:(Ljava/lang/String;F)Lcom/sun/javafx/font/PGFont;
aastore
3: aload 6
areturn
end local 6 4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.J2DFontFactory.prismFontFactory:Lcom/sun/javafx/font/FontFactory;
aload 1
aload 2
5: fload 3
iload 4
iload 5
6: invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/lang/String;FZZ)[Lcom/sun/javafx/font/PGFont;
7: astore 6
start local 6 8: aload 6
ifnull 9
aload 6
arraylength
ifne 10
StackMap locals: com.sun.javafx.font.PGFont[]
StackMap stack:
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 6
iconst_0
aaload
invokeinterface com.sun.javafx.font.PGFont.getFontResource:()Lcom/sun/javafx/font/FontResource;
astore 7
start local 7 11: new com.sun.prism.j2d.J2DFontFactory$1
dup
aload 0
aload 7
invokespecial com.sun.prism.j2d.J2DFontFactory$1.<init>:(Lcom/sun/prism/j2d/J2DFontFactory;Lcom/sun/javafx/font/FontResource;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
12: aload 6
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/prism/j2d/J2DFontFactory;
0 13 1 name Ljava/lang/String;
0 13 2 path Ljava/lang/String;
0 13 3 size F
0 13 4 register Z
0 13 5 loadAll Z
2 4 6 fonts [Lcom/sun/javafx/font/PGFont;
8 13 6 fonts [Lcom/sun/javafx/font/PGFont;
11 13 7 fr Lcom/sun/javafx/font/FontResource;
MethodParameters:
Name Flags
name
path
size
register
loadAll
static java.awt.Font getCompositeFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)Ljava/awt/Font;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: invokestatic com.sun.javafx.PlatformUtil.isMac:()Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
ldc Lcom/sun/prism/j2d/J2DFontFactory;
dup
astore 1
monitorenter
3: getstatic com.sun.prism.j2d.J2DFontFactory.compositeFontMethodsInitialized:Z
ifne 6
4: 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;
com/sun/prism/j2d/J2DFontFactory.lambda$1()Ljava/lang/Void; (6)
()Ljava/lang/Void;
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
getstatic com.sun.prism.j2d.J2DFontFactory.getCompositeFontUIResource:Ljava/lang/reflect/Method;
ifnull 17
11: getstatic com.sun.prism.j2d.J2DFontFactory.getCompositeFontUIResource:Ljava/lang/reflect/Method;
12: aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
13: checkcast java.awt.Font
14: areturn
15: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
goto 17
16: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
pop
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 srcFont Ljava/awt/Font;
Exception table:
from to target type
3 7 8 any
8 9 8 any
11 14 15 Class java.lang.IllegalAccessException
11 14 16 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
srcFont final
private static java.lang.Object lambda$0(com.sun.javafx.font.FontResource);
descriptor: (Lcom/sun/javafx/font/FontResource;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=1
0: aconst_null
astore 1
start local 1 1: new java.io.File
dup
aload 0
invokeinterface com.sun.javafx.font.FontResource.getFileName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 1
3: iconst_0
aload 1
invokestatic java.awt.Font.createFont:(ILjava/io/InputStream;)Ljava/awt/Font;
astore 3
start local 3 4: aload 0
aload 3
invokeinterface com.sun.javafx.font.FontResource.setPeer:(Ljava/lang/Object;)V
end local 3 end local 2 5: goto 18
StackMap locals: com.sun.javafx.font.FontResource java.io.InputStream
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 8: aload 1
ifnull 22
9: aload 1
invokevirtual java.io.InputStream.close:()V
10: goto 22
StackMap locals:
StackMap stack: java.lang.Exception
11: pop
goto 22
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
13: aload 1
ifnull 17
14: aload 1
invokevirtual java.io.InputStream.close:()V
15: goto 17
StackMap locals: com.sun.javafx.font.FontResource java.io.InputStream top top java.lang.Throwable
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
aload 4
athrow
18: StackMap locals: com.sun.javafx.font.FontResource java.io.InputStream
StackMap stack:
aload 1
ifnull 22
19: aload 1
invokevirtual java.io.InputStream.close:()V
20: goto 22
StackMap locals:
StackMap stack: java.lang.Exception
21: pop
22: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
1 23 1 stream Ljava/io/InputStream;
2 5 2 file Ljava/io/File;
4 5 3 font Ljava/awt/Font;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
9 10 11 Class java.lang.Exception
1 8 12 any
14 15 16 Class java.lang.Exception
19 20 21 Class java.lang.Exception
private static java.lang.Void lambda$1();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=1, args_size=0
0: iconst_1
putstatic com.sun.prism.j2d.J2DFontFactory.compositeFontMethodsInitialized:Z
1: ldc "sun.font.FontUtilities"
iconst_1
aconst_null
2: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 0
start local 0 3: goto 10
end local 0 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
4: pop
5: ldc "sun.font.FontManager"
iconst_1
aconst_null
6: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 0
start local 0 7: goto 10
end local 0 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
8: pop
9: aconst_null
areturn
start local 0 10: StackMap locals: java.lang.Class
StackMap stack:
aload 0
11: ldc "getCompositeFontUIResource"
iconst_1
anewarray java.lang.Class
dup
iconst_0
12: ldc Ljava/awt/Font;
aastore
13: invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
14: putstatic com.sun.prism.j2d.J2DFontFactory.getCompositeFontUIResource:Ljava/lang/reflect/Method;
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
16: pop
17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 4 0 fontMgrCls Ljava/lang/Class<*>;
7 8 0 fontMgrCls Ljava/lang/Class<*>;
10 18 0 fontMgrCls Ljava/lang/Class<*>;
Exception table:
from to target type
1 3 4 Class java.lang.ClassNotFoundException
5 7 8 Class java.lang.ClassNotFoundException
10 15 16 Class java.lang.NoSuchMethodException
}
SourceFile: "J2DFontFactory.java"
NestMembers:
com.sun.prism.j2d.J2DFontFactory$1
InnerClasses:
com.sun.prism.j2d.J2DFontFactory$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles