class com.sun.javafx.font.FontFileReader implements com.sun.javafx.font.FontConstants
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.font.FontFileReader
super_class: java.lang.Object
{
java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0000)
long filesize;
descriptor: J
flags: (0x0000)
java.io.RandomAccessFile raFile;
descriptor: Ljava/io/RandomAccessFile;
flags: (0x0000)
private static final int READBUFFERSIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private byte[] readBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int readBufferLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readBufferStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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.javafx.font.FontFileReader.filename:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/font/FontFileReader;
0 3 1 filename Ljava/lang/String;
MethodParameters:
Name Flags
filename
public java.lang.String getFilename();
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.javafx.font.FontFileReader.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/font/FontFileReader;
public synchronized boolean openFile();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
ifnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
3: aload 0
invokedynamic run(Lcom/sun/javafx/font/FontFileReader;)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/javafx/font/FontFileReader.lambda$0()Ljava/io/RandomAccessFile; (7)
()Ljava/io/RandomAccessFile;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.RandomAccessFile
putfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
5: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
ifnull 9
6: aload 0
aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.length:()J
putfield com.sun.javafx.font.FontFileReader.filesize:J
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack: java.io.IOException
pop
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/font/FontFileReader;
Exception table:
from to target type
6 7 8 Class java.io.IOException
Exceptions:
throws java.security.PrivilegedActionException
public synchronized void closeFile();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
ifnull 4
1: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.close:()V
2: aload 0
aconst_null
putfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
3: aload 0
aconst_null
putfield com.sun.javafx.font.FontFileReader.readBuffer:[B
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/font/FontFileReader;
Exceptions:
throws java.io.IOException
public synchronized long getLength();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.FontFileReader.filesize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/font/FontFileReader;
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
ifnull 2
1: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
lconst_0
invokevirtual java.io.RandomAccessFile.seek:(J)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/font/FontFileReader;
Exceptions:
throws java.io.IOException
private synchronized int readFromFile(byte[], long, int);
descriptor: ([BJI)I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
lload 2
invokevirtual java.io.RandomAccessFile.seek:(J)V
1: aload 0
getfield com.sun.javafx.font.FontFileReader.raFile:Ljava/io/RandomAccessFile;
aload 1
iconst_0
iload 4
invokevirtual java.io.RandomAccessFile.read:([BII)I
istore 5
start local 5 2: iload 5
3: ireturn
end local 5 4: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 5: getstatic com.sun.javafx.font.PrismFontFactory.debugFonts:Z
ifeq 7
6: aload 5
invokevirtual java.io.IOException.printStackTrace:()V
7: StackMap locals: java.io.IOException
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/font/FontFileReader;
0 8 1 buffer [B
0 8 2 seekPos J
0 8 4 requestedLen I
2 4 5 bytesRead I
5 8 5 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
MethodParameters:
Name Flags
buffer
seekPos
requestedLen
public synchronized com.sun.javafx.font.FontFileReader$Buffer readBlock(int, int);
descriptor: (II)Lcom/sun/javafx/font/FontFileReader$Buffer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.font.FontFileReader.readBuffer:[B
ifnonnull 3
1: aload 0
sipush 1024
newarray 8
putfield com.sun.javafx.font.FontFileReader.readBuffer:[B
2: aload 0
iconst_0
putfield com.sun.javafx.font.FontFileReader.readBufferLen:I
3: StackMap locals:
StackMap stack:
iload 2
sipush 1024
if_icmpgt 14
4: aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferStart:I
iload 1
if_icmpgt 7
5: aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferStart:I
aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferLen:I
iadd
iload 1
iload 2
iadd
if_icmplt 7
6: new com.sun.javafx.font.FontFileReader$Buffer
dup
aload 0
getfield com.sun.javafx.font.FontFileReader.readBuffer:[B
iload 1
aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferStart:I
isub
invokespecial com.sun.javafx.font.FontFileReader$Buffer.<init>:([BI)V
areturn
7: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.javafx.font.FontFileReader.readBufferStart:I
8: aload 0
iload 1
sipush 1024
iadd
i2l
aload 0
getfield com.sun.javafx.font.FontFileReader.filesize:J
lcmp
ifle 10
9: aload 0
getfield com.sun.javafx.font.FontFileReader.filesize:J
l2i
iload 1
isub
goto 11
StackMap locals:
StackMap stack: com.sun.javafx.font.FontFileReader
10: sipush 1024
11: StackMap locals: com.sun.javafx.font.FontFileReader int int
StackMap stack: com.sun.javafx.font.FontFileReader int
putfield com.sun.javafx.font.FontFileReader.readBufferLen:I
12: aload 0
aload 0
getfield com.sun.javafx.font.FontFileReader.readBuffer:[B
aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferStart:I
i2l
aload 0
getfield com.sun.javafx.font.FontFileReader.readBufferLen:I
invokevirtual com.sun.javafx.font.FontFileReader.readFromFile:([BJI)I
pop
13: new com.sun.javafx.font.FontFileReader$Buffer
dup
aload 0
getfield com.sun.javafx.font.FontFileReader.readBuffer:[B
iconst_0
invokespecial com.sun.javafx.font.FontFileReader$Buffer.<init>:([BI)V
areturn
14: StackMap locals:
StackMap stack:
iload 2
newarray 8
astore 3
start local 3 15: aload 0
aload 3
iload 1
i2l
iload 2
invokevirtual com.sun.javafx.font.FontFileReader.readFromFile:([BJI)I
pop
16: new com.sun.javafx.font.FontFileReader$Buffer
dup
aload 3
iconst_0
invokespecial com.sun.javafx.font.FontFileReader$Buffer.<init>:([BI)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/javafx/font/FontFileReader;
0 17 1 offset I
0 17 2 len I
15 17 3 data [B
MethodParameters:
Name Flags
offset
len
private java.io.RandomAccessFile lambda$0();
descriptor: ()Ljava/io/RandomAccessFile;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.io.RandomAccessFile
dup
aload 0
getfield com.sun.javafx.font.FontFileReader.filename:Ljava/lang/String;
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/FontFileReader;
Exception table:
from to target type
0 1 2 Class java.io.FileNotFoundException
}
SourceFile: "FontFileReader.java"
NestMembers:
com.sun.javafx.font.FontFileReader$Buffer
InnerClasses:
Buffer = com.sun.javafx.font.FontFileReader$Buffer of com.sun.javafx.font.FontFileReader
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles