final class com.sun.javafx.webkit.prism.WCImageDecoderImpl extends com.sun.webkit.graphics.WCImageDecoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.prism.WCImageDecoderImpl
super_class: com.sun.webkit.graphics.WCImageDecoder
{
private static final com.sun.javafx.logging.PlatformLogger log;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private javafx.concurrent.Service<com.sun.javafx.iio.ImageFrame[]> loader;
descriptor: Ljavafx/concurrent/Service;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/concurrent/Service<[Lcom/sun/javafx/iio/ImageFrame;>;
private int imageWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int imageHeight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.iio.ImageFrame[] frames;
descriptor: [Lcom/sun/javafx/iio/ImageFrame;
flags: (0x0002) ACC_PRIVATE
private int frameCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean fullDataReceived;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean framesDecoded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.webkit.prism.PrismImage[] images;
descriptor: [Lcom/sun/javafx/webkit/prism/PrismImage;
flags: (0x0002) ACC_PRIVATE
private volatile byte[] data;
descriptor: [B
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int dataSize;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.lang.String fileNameExtension;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final com.sun.javafx.iio.ImageLoadListener readerListener;
descriptor: Lcom/sun/javafx/iio/ImageLoadListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.ThreadLocal<int[]> THREAD_LOCAL_SIZE_ARRAY;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<[I>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
putstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
1: new com.sun.javafx.webkit.prism.WCImageDecoderImpl$2
dup
invokespecial com.sun.javafx.webkit.prism.WCImageDecoderImpl$2.<init>:()V
2: putstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.THREAD_LOCAL_SIZE_ARRAY:Ljava/lang/ThreadLocal;
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.graphics.WCImageDecoder.<init>:()V
1: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageWidth:I
2: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageHeight:I
3: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frameCount:I
4: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
5: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.framesDecoded:Z
6: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
7: aload 0
new com.sun.javafx.webkit.prism.WCImageDecoderImpl$1
dup
aload 0
invokespecial com.sun.javafx.webkit.prism.WCImageDecoderImpl$1.<init>:(Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;)V
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.readerListener:Lcom/sun/javafx/iio/ImageLoadListener;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
protected synchronized void destroy();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "%X Destroy image decoder"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.destroyLoader:()V
3: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
4: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
5: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.framesDecoded:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
protected java.lang.String getFilenameExtension();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fileNameExtension:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
private boolean imageSizeAvilable();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageWidth:I
ifle 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageHeight:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
protected void addImageData(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 14
1: aload 0
iconst_0
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
2: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
ifnonnull 6
3: aload 0
aload 1
aload 1
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([BI)[B
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
4: aload 0
aload 1
arraylength
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
5: goto 11
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
aload 1
arraylength
iadd
istore 2
start local 2 7: iload 2
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
arraylength
if_icmple 9
8: aload 0
iload 2
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
arraylength
iconst_2
imul
invokestatic java.lang.Math.max:(II)I
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.resizeDataArray:(I)V
9: StackMap locals: int
StackMap stack:
aload 1
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
iload 2
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
end local 2 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageSizeAvilable:()Z
ifne 18
12: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames:()[Lcom/sun/javafx/iio/ImageFrame;
pop
13: goto 18
StackMap locals:
StackMap stack:
14: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
ifnull 18
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
ifne 18
15: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
arraylength
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
if_icmple 17
16: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.resizeDataArray:(I)V
17: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 19 1 dataPortion [B
7 11 2 newDataSize I
MethodParameters:
Name Flags
dataPortion
private void destroyLoader();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
ifnull 3
1: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
invokevirtual javafx.concurrent.Service.cancel:()Z
pop
2: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
private void startLoader();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
ifnonnull 3
1: aload 0
new com.sun.javafx.webkit.prism.WCImageDecoderImpl$3
dup
aload 0
invokespecial com.sun.javafx.webkit.prism.WCImageDecoderImpl$3.<init>:(Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;)V
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
2: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
invokevirtual javafx.concurrent.Service.valueProperty:()Ljavafx/beans/property/ReadOnlyObjectProperty;
aload 0
invokedynamic changed(Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;)Ljavafx/beans/value/ChangeListener;
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:
(Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
com/sun/javafx/webkit/prism/WCImageDecoderImpl.lambda$0(Ljavafx/beans/value/ObservableValue;[Lcom/sun/javafx/iio/ImageFrame;[Lcom/sun/javafx/iio/ImageFrame;)V (7)
(Ljavafx/beans/value/ObservableValue;[Lcom/sun/javafx/iio/ImageFrame;[Lcom/sun/javafx/iio/ImageFrame;)V
invokevirtual javafx.beans.property.ReadOnlyObjectProperty.addListener:(Ljavafx/beans/value/ChangeListener;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
invokevirtual javafx.concurrent.Service.isRunning:()Z
ifne 5
4: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
invokevirtual javafx.concurrent.Service.restart:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
private void resizeDataArray(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
aload 2
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 4 1 newDataSize I
1 4 2 newData [B
MethodParameters:
Name Flags
newDataSize
protected void loadFromResource(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 4
1: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
2: ldc "%X Load image from resource '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.webkit.graphics.WCGraphicsManager.getResourceName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 5: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 6: aload 3
ifnonnull 12
7: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 11
8: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
9: ldc "%X Unable to open resource '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
11: StackMap locals: java.lang.String java.io.InputStream
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 3
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames:(Ljava/io/InputStream;)[Lcom/sun/javafx/iio/ImageFrame;
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.setFrames:([Lcom/sun/javafx/iio/ImageFrame;)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 14 1 name Ljava/lang/String;
5 14 2 resourceName Ljava/lang/String;
6 14 3 in Ljava/io/InputStream;
MethodParameters:
Name Flags
name
private synchronized com.sun.javafx.iio.ImageFrame[] loadFrames(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[Lcom/sun/javafx/iio/ImageFrame;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "%X Decoding frames"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.readerListener:Lcom/sun/javafx/iio/ImageLoadListener;
dconst_0
dconst_0
iconst_1
fconst_1
iconst_0
invokestatic com.sun.javafx.iio.ImageStorage.loadAll:(Ljava/io/InputStream;Lcom/sun/javafx/iio/ImageLoadListener;DDZFZ)[Lcom/sun/javafx/iio/ImageFrame;
astore 3
3: aload 1
invokevirtual java.io.InputStream.close:()V
4: goto 6
StackMap locals: com.sun.javafx.webkit.prism.WCImageDecoderImpl java.io.InputStream top com.sun.javafx.iio.ImageFrame[]
StackMap stack: java.io.IOException
5: pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
7: StackMap locals: com.sun.javafx.webkit.prism.WCImageDecoderImpl java.io.InputStream
StackMap stack: com.sun.javafx.iio.ImageStorageException
pop
8: aload 1
invokevirtual java.io.InputStream.close:()V
9: goto 11
StackMap locals:
StackMap stack: java.io.IOException
10: pop
11: StackMap locals:
StackMap stack:
aconst_null
areturn
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
13: aload 1
invokevirtual java.io.InputStream.close:()V
14: goto 16
StackMap locals: com.sun.javafx.webkit.prism.WCImageDecoderImpl java.io.InputStream java.lang.Throwable
StackMap stack: java.io.IOException
15: pop
16: StackMap locals:
StackMap stack:
aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 17 1 in Ljava/io/InputStream;
Exception table:
from to target type
3 4 5 Class java.io.IOException
2 3 7 Class com.sun.javafx.iio.ImageStorageException
8 9 10 Class java.io.IOException
2 3 12 any
7 8 12 any
13 14 15 Class java.io.IOException
MethodParameters:
Name Flags
in
private com.sun.javafx.iio.ImageFrame[] loadFrames();
descriptor: ()[Lcom/sun/javafx/iio/ImageFrame;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
new java.io.ByteArrayInputStream
dup
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.data:[B
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.dataSize:I
invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames:(Ljava/io/InputStream;)[Lcom/sun/javafx/iio/ImageFrame;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
protected int[] getImageSize();
descriptor: ()[I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.THREAD_LOCAL_SIZE_ARRAY:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast int[]
astore 1
start local 1 1: aload 1
iconst_0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageWidth:I
iastore
2: aload 1
iconst_1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.imageHeight:I
iastore
3: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 5
4: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "%X image size = %dx%d"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
iconst_0
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
iconst_1
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
5: StackMap locals: int[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
1 6 1 size [I
private synchronized void setFrames(com.sun.javafx.iio.ImageFrame[]);
descriptor: ([Lcom/sun/javafx/iio/ImageFrame;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
1: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
2: aload 0
aload 1
ifnonnull 3
iconst_0
goto 4
StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCImageDecoderImpl
3: aload 1
arraylength
StackMap locals: com.sun.javafx.webkit.prism.WCImageDecoderImpl com.sun.javafx.iio.ImageFrame[]
StackMap stack: com.sun.javafx.webkit.prism.WCImageDecoderImpl int
4: putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frameCount:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 6 1 frames [Lcom/sun/javafx/iio/ImageFrame;
MethodParameters:
Name Flags
frames
protected int getFrameCount();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
ifeq 2
1: aload 0
iconst_0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getImageFrame:(I)Lcom/sun/javafx/iio/ImageFrame;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frameCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
protected synchronized com.sun.webkit.graphics.WCImageFrame getFrame(int);
descriptor: (I)Lcom/sun/webkit/graphics/WCImageFrame;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getImageFrame:(I)Lcom/sun/javafx/iio/ImageFrame;
astore 2
start local 2 1: aload 2
ifnull 9
2: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 7
3: aload 2
invokevirtual com.sun.javafx.iio.ImageFrame.getImageType:()Lcom/sun/javafx/iio/ImageStorage$ImageType;
astore 3
start local 3 4: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "%X getFrame(%d): image type = %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 3
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
end local 3 7: StackMap locals: com.sun.javafx.iio.ImageFrame
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getPrismImage:(ILcom/sun/javafx/iio/ImageFrame;)Lcom/sun/javafx/webkit/prism/PrismImage;
astore 3
start local 3 8: new com.sun.javafx.webkit.prism.WCImageDecoderImpl$Frame
dup
aload 3
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fileNameExtension:Ljava/lang/String;
invokespecial com.sun.javafx.webkit.prism.WCImageDecoderImpl$Frame.<init>:(Lcom/sun/webkit/graphics/WCImage;Ljava/lang/String;)V
areturn
end local 3 9: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 11
10: getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "%X FAILED getFrame(%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 12 1 idx I
1 12 2 frame Lcom/sun/javafx/iio/ImageFrame;
4 7 3 type Lcom/sun/javafx/iio/ImageStorage$ImageType;
8 9 3 img Lcom/sun/javafx/webkit/prism/PrismImage;
MethodParameters:
Name Flags
idx
private synchronized com.sun.javafx.iio.ImageMetadata getFrameMetadata(int);
descriptor: (I)Lcom/sun/javafx/iio/ImageMetadata;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
ifnull 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
arraylength
iload 1
if_icmple 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
iload 1
aaload
ifnull 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
iload 1
aaload
invokevirtual com.sun.javafx.iio.ImageFrame.getMetadata:()Lcom/sun/javafx/iio/ImageMetadata;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: com.sun.javafx.iio.ImageMetadata
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 3 1 idx I
MethodParameters:
Name Flags
idx
protected int getFrameDuration(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getFrameMetadata:(I)Lcom/sun/javafx/iio/ImageMetadata;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
getfield com.sun.javafx.iio.ImageMetadata.delayTime:Ljava/lang/Integer;
ifnonnull 3
StackMap locals: com.sun.javafx.iio.ImageMetadata
StackMap stack:
2: iconst_0
goto 4
StackMap locals:
StackMap stack:
3: aload 2
getfield com.sun.javafx.iio.ImageMetadata.delayTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: iload 3
bipush 11
if_icmpge 6
bipush 100
istore 3
6: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 7 1 idx I
1 7 2 meta Lcom/sun/javafx/iio/ImageMetadata;
5 7 3 dur I
MethodParameters:
Name Flags
idx
protected int[] getFrameSize(int);
descriptor: (I)[I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getFrameMetadata:(I)Lcom/sun/javafx/iio/ImageMetadata;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: com.sun.javafx.iio.ImageMetadata
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCImageDecoderImpl.THREAD_LOCAL_SIZE_ARRAY:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast int[]
astore 3
start local 3 4: aload 3
iconst_0
aload 2
getfield com.sun.javafx.iio.ImageMetadata.imageWidth:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iastore
5: aload 3
iconst_1
aload 2
getfield com.sun.javafx.iio.ImageMetadata.imageHeight:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iastore
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 7 1 idx I
1 7 2 meta Lcom/sun/javafx/iio/ImageMetadata;
4 7 3 size [I
MethodParameters:
Name Flags
idx
protected synchronized boolean getFrameCompleteStatus(int);
descriptor: (I)Z
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.getFrameMetadata:(I)Lcom/sun/javafx/iio/ImageMetadata;
ifnull 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.framesDecoded:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 2 1 idx I
MethodParameters:
Name Flags
idx
private synchronized com.sun.javafx.iio.ImageFrame getImageFrame(int);
descriptor: (I)Lcom/sun/javafx/iio/ImageFrame;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
ifne 3
1: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.startLoader:()V
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.fullDataReceived:Z
ifeq 7
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.framesDecoded:Z
ifne 7
4: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.destroyLoader:()V
5: aload 0
aload 0
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.loadFrames:()[Lcom/sun/javafx/iio/ImageFrame;
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.setFrames:([Lcom/sun/javafx/iio/ImageFrame;)V
6: aload 0
iconst_1
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.framesDecoded:Z
7: StackMap locals:
StackMap stack:
iload 1
iflt 9
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
ifnull 9
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
arraylength
iload 1
if_icmple 9
8: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
iload 1
aaload
goto 10
9: StackMap locals:
StackMap stack:
aconst_null
10: StackMap locals:
StackMap stack: com.sun.javafx.iio.ImageFrame
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 11 1 idx I
MethodParameters:
Name Flags
idx
private synchronized com.sun.javafx.webkit.prism.PrismImage getPrismImage(int, com.sun.javafx.iio.ImageFrame);
descriptor: (ILcom/sun/javafx/iio/ImageFrame;)Lcom/sun/javafx/webkit/prism/PrismImage;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.frames:[Lcom/sun/javafx/iio/ImageFrame;
arraylength
anewarray com.sun.javafx.webkit.prism.PrismImage
putfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
iload 1
aaload
ifnonnull 4
3: aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
iload 1
new com.sun.javafx.webkit.prism.WCImageImpl
dup
aload 2
invokespecial com.sun.javafx.webkit.prism.WCImageImpl.<init>:(Lcom/sun/javafx/iio/ImageFrame;)V
aastore
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.images:[Lcom/sun/javafx/webkit/prism/PrismImage;
iload 1
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 5 1 idx I
0 5 2 frame Lcom/sun/javafx/iio/ImageFrame;
MethodParameters:
Name Flags
idx
frame
private void lambda$0(javafx.beans.value.ObservableValue, com.sun.javafx.iio.ImageFrame[], com.sun.javafx.iio.ImageFrame[]);
descriptor: (Ljavafx/beans/value/ObservableValue;[Lcom/sun/javafx/iio/ImageFrame;[Lcom/sun/javafx/iio/ImageFrame;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 2
aload 0
getfield com.sun.javafx.webkit.prism.WCImageDecoderImpl.loader:Ljavafx/concurrent/Service;
ifnull 2
1: aload 0
aload 3
invokevirtual com.sun.javafx.webkit.prism.WCImageDecoderImpl.setFrames:([Lcom/sun/javafx/iio/ImageFrame;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/prism/WCImageDecoderImpl;
0 3 1 ov Ljavafx/beans/value/ObservableValue<+[Lcom/sun/javafx/iio/ImageFrame;>;
0 3 2 old [Lcom/sun/javafx/iio/ImageFrame;
0 3 3 frames [Lcom/sun/javafx/iio/ImageFrame;
}
SourceFile: "WCImageDecoderImpl.java"
NestMembers:
com.sun.javafx.webkit.prism.WCImageDecoderImpl$1 com.sun.javafx.webkit.prism.WCImageDecoderImpl$2 com.sun.javafx.webkit.prism.WCImageDecoderImpl$3 com.sun.javafx.webkit.prism.WCImageDecoderImpl$3$1 com.sun.javafx.webkit.prism.WCImageDecoderImpl$Frame
InnerClasses:
public final ImageType = com.sun.javafx.iio.ImageStorage$ImageType of com.sun.javafx.iio.ImageStorage
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
com.sun.javafx.webkit.prism.WCImageDecoderImpl$1
com.sun.javafx.webkit.prism.WCImageDecoderImpl$2
com.sun.javafx.webkit.prism.WCImageDecoderImpl$3
private final Frame = com.sun.javafx.webkit.prism.WCImageDecoderImpl$Frame of com.sun.javafx.webkit.prism.WCImageDecoderImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles