public class sun.awt.image.JPEGImageDecoder extends sun.awt.image.ImageDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.JPEGImageDecoder
super_class: sun.awt.image.ImageDecoder
{
private static java.awt.image.ColorModel RGBcolormodel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.image.ColorModel ARGBcolormodel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.image.ColorModel Graycolormodel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Class<?> InputStreamClass;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private java.awt.image.ColorModel colormodel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0002) ACC_PRIVATE
java.util.Hashtable<java.lang.String, java.lang.Object> props;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
private static final int hintflags;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 22
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=0
0: ldc Ljava/io/InputStream;
putstatic sun.awt.image.JPEGImageDecoder.InputStreamClass:Ljava/lang/Class;
1: new sun.awt.image.JPEGImageDecoder$1
dup
invokespecial sun.awt.image.JPEGImageDecoder$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
3: getstatic sun.awt.image.JPEGImageDecoder.InputStreamClass:Ljava/lang/Class;
invokestatic sun.awt.image.JPEGImageDecoder.initIDs:(Ljava/lang/Class;)V
4: new java.awt.image.DirectColorModel
dup
bipush 24
ldc 16711680
ldc 65280
sipush 255
invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
putstatic sun.awt.image.JPEGImageDecoder.RGBcolormodel:Ljava/awt/image/ColorModel;
5: invokestatic java.awt.image.ColorModel.getRGBdefault:()Ljava/awt/image/ColorModel;
putstatic sun.awt.image.JPEGImageDecoder.ARGBcolormodel:Ljava/awt/image/ColorModel;
6: sipush 256
newarray 8
astore 0
start local 0 7: iconst_0
istore 1
start local 1 8: goto 11
9: StackMap locals: byte[] int
StackMap stack:
aload 0
iload 1
iload 1
i2b
bastore
10: iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
sipush 256
if_icmplt 9
end local 1 12: new java.awt.image.IndexColorModel
dup
bipush 8
sipush 256
aload 0
aload 0
aload 0
invokespecial java.awt.image.IndexColorModel.<init>:(II[B[B[B)V
putstatic sun.awt.image.JPEGImageDecoder.Graycolormodel:Ljava/awt/image/ColorModel;
end local 0 13: return
LocalVariableTable:
Start End Slot Name Signature
7 13 0 g [B
8 12 1 i I
private static native void initIDs(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
InputStreamClass
private native void readImage(java.io.InputStream, byte[]);
descriptor: (Ljava/io/InputStream;[B)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.awt.image.ImageFormatException, java.io.IOException
MethodParameters:
Name Flags
is
buf
public void <init>(sun.awt.image.InputStreamImageSource, java.io.InputStream);
descriptor: (Lsun/awt/image/InputStreamImageSource;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.awt.image.ImageDecoder.<init>:(Lsun/awt/image/InputStreamImageSource;Ljava/io/InputStream;)V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.awt.image.JPEGImageDecoder.props:Ljava/util/Hashtable;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/JPEGImageDecoder;
0 3 1 src Lsun/awt/image/InputStreamImageSource;
0 3 2 is Ljava/io/InputStream;
MethodParameters:
Name Flags
src
is
private static void error(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.awt.image.ImageFormatException
dup
aload 0
invokespecial sun.awt.image.ImageFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s1 Ljava/lang/String;
Exceptions:
throws sun.awt.image.ImageFormatException
MethodParameters:
Name Flags
s1
public boolean (int, int, boolean, boolean, boolean);
descriptor: (IIZZZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
iload 2
invokevirtual sun.awt.image.JPEGImageDecoder.setDimensions:(II)I
pop
1: aload 0
aload 0
getfield sun.awt.image.JPEGImageDecoder.props:Ljava/util/Hashtable;
invokevirtual sun.awt.image.JPEGImageDecoder.setProperties:(Ljava/util/Hashtable;)I
pop
2: iload 3
ifeq 5
3: aload 0
getstatic sun.awt.image.JPEGImageDecoder.Graycolormodel:Ljava/awt/image/ColorModel;
putfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
4: goto 9
5: StackMap locals:
StackMap stack:
iload 4
ifeq 8
6: aload 0
getstatic sun.awt.image.JPEGImageDecoder.ARGBcolormodel:Ljava/awt/image/ColorModel;
putfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getstatic sun.awt.image.JPEGImageDecoder.RGBcolormodel:Ljava/awt/image/ColorModel;
putfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
invokevirtual sun.awt.image.JPEGImageDecoder.setColorModel:(Ljava/awt/image/ColorModel;)I
pop
10: iload 5
ifne 11
11: StackMap locals:
StackMap stack:
aload 0
bipush 22
invokevirtual sun.awt.image.JPEGImageDecoder.setHints:(I)I
pop
12: aload 0
invokevirtual sun.awt.image.JPEGImageDecoder.headerComplete:()V
13: iconst_1
ireturn
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 14 0 this Lsun/awt/image/JPEGImageDecoder;
0 14 1 width I
0 14 2 height I
0 14 3 gray Z
0 14 4 hasalpha Z
0 14 5 multipass Z
MethodParameters:
Name Flags
width
height
gray
hasalpha
multipass
public boolean sendPixels(int[], int);
descriptor: ([II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
iload 2
aload 1
arraylength
iconst_1
aload 0
getfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
1: aload 1
iconst_0
aload 1
arraylength
2: invokevirtual sun.awt.image.JPEGImageDecoder.setPixels:(IIIILjava/awt/image/ColorModel;[III)I
istore 3
start local 3 3: iload 3
ifgt 5
4: aload 0
iconst_1
putfield sun.awt.image.JPEGImageDecoder.aborted:Z
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.image.JPEGImageDecoder.aborted:Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/image/JPEGImageDecoder;
0 8 1 pixels [I
0 8 2 y I
3 8 3 count I
MethodParameters:
Name Flags
pixels
y
public boolean sendPixels(byte[], int);
descriptor: ([BI)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
iload 2
aload 1
arraylength
iconst_1
aload 0
getfield sun.awt.image.JPEGImageDecoder.colormodel:Ljava/awt/image/ColorModel;
1: aload 1
iconst_0
aload 1
arraylength
2: invokevirtual sun.awt.image.JPEGImageDecoder.setPixels:(IIIILjava/awt/image/ColorModel;[BII)I
istore 3
start local 3 3: iload 3
ifgt 5
4: aload 0
iconst_1
putfield sun.awt.image.JPEGImageDecoder.aborted:Z
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.image.JPEGImageDecoder.aborted:Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/image/JPEGImageDecoder;
0 8 1 pixels [B
0 8 2 y I
3 8 3 count I
MethodParameters:
Name Flags
pixels
y
public void produceImage();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.image.JPEGImageDecoder.input:Ljava/io/InputStream;
sipush 1024
newarray 8
invokevirtual sun.awt.image.JPEGImageDecoder.readImage:(Ljava/io/InputStream;[B)V
1: aload 0
getfield sun.awt.image.JPEGImageDecoder.aborted:Z
ifne 11
2: aload 0
iconst_3
iconst_1
invokevirtual sun.awt.image.JPEGImageDecoder.imageComplete:(IZ)I
pop
3: goto 11
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: aload 0
getfield sun.awt.image.JPEGImageDecoder.aborted:Z
ifne 7
6: aload 1
athrow
end local 1 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.image.JPEGImageDecoder.close:()V
goto 12
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
invokevirtual sun.awt.image.JPEGImageDecoder.close:()V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.image.JPEGImageDecoder.close:()V
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/image/JPEGImageDecoder;
5 7 1 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
0 7 8 any
Exceptions:
throws java.io.IOException, sun.awt.image.ImageFormatException
}
SourceFile: "JPEGImageDecoder.java"
NestMembers:
sun.awt.image.JPEGImageDecoder$1
InnerClasses:
sun.awt.image.JPEGImageDecoder$1