public class sun.awt.X11.XIconWindow extends sun.awt.X11.XBaseWindow
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XIconWindow
super_class: sun.awt.X11.XBaseWindow
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
sun.awt.X11.XDecoratedPeer parent;
descriptor: Lsun/awt/X11/XDecoratedPeer;
flags: (0x0000)
java.awt.Dimension size;
descriptor: Ljava/awt/Dimension;
flags: (0x0000)
long iconPixmap;
descriptor: J
flags: (0x0000)
long iconMask;
descriptor: J
flags: (0x0000)
int iconWidth;
descriptor: I
flags: (0x0000)
int iconHeight;
descriptor: I
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.X11.XIconWindow"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.awt.X11.XDecoratedPeer);
descriptor: (Lsun/awt/X11/XDecoratedPeer;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.awt.X11.XCreateWindowParams
dup
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: ldc "parent"
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
2: ldc "delayed"
aastore
dup
iconst_3
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aastore
3: invokespecial sun.awt.X11.XCreateWindowParams.<init>:([Ljava/lang/Object;)V
invokespecial sun.awt.X11.XBaseWindow.<init>:(Lsun/awt/X11/XCreateWindowParams;)V
4: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconPixmap:J
5: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconMask:J
6: aload 0
iconst_0
putfield sun.awt.X11.XIconWindow.iconWidth:I
7: aload 0
iconst_0
putfield sun.awt.X11.XIconWindow.iconHeight:I
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XIconWindow;
0 9 1 parent Lsun/awt/X11/XDecoratedPeer;
MethodParameters:
Name Flags
parent
void instantPreInit(sun.awt.X11.XCreateWindowParams);
descriptor: (Lsun/awt/X11/XCreateWindowParams;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XBaseWindow.instantPreInit:(Lsun/awt/X11/XCreateWindowParams;)V
1: aload 0
aload 1
ldc "parent"
invokevirtual sun.awt.X11.XCreateWindowParams.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.X11.XDecoratedPeer
putfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XIconWindow;
0 3 1 params Lsun/awt/X11/XCreateWindowParams;
MethodParameters:
Name Flags
params
private sun.awt.X11.XIconSize[] getIconSizes();
descriptor: ()[Lsun/awt/X11/XIconSize;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=1
start local 0 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getGraphicsConfigurationData:()Lsun/awt/X11/AwtGraphicsConfigData;
astore 1
start local 1 2: aload 1
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awt_visInfo:()Lsun/awt/X11/XVisualInfo;
invokevirtual sun.awt.X11.XVisualInfo.get_screen:()I
pop
3: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lstore 2
start local 2 4: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 6
5: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
aload 1
invokevirtual sun.awt.X11.AwtGraphicsConfigData.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
6: StackMap locals: sun.awt.X11.AwtGraphicsConfigData long
StackMap stack:
lload 2
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
7: getstatic sun.awt.X11.XlibWrapper.larg1:J
getstatic sun.awt.X11.XlibWrapper.iarg1:J
8: invokestatic sun.awt.X11.XlibWrapper.XGetIconSizes:(JJJJ)I
i2l
9: lstore 4
start local 4 10: lload 4
lconst_0
lcmp
ifne 13
11: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
12: aconst_null
areturn
13: StackMap locals: long
StackMap stack:
getstatic sun.awt.X11.XlibWrapper.iarg1:J
invokestatic sun.awt.X11.Native.getInt:(J)I
istore 6
start local 6 14: getstatic sun.awt.X11.XlibWrapper.larg1:J
invokestatic sun.awt.X11.Native.getLong:(J)J
lstore 7
start local 7 15: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 17
16: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "count = {1}, sizes_ptr = {0}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 7
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals: int long
StackMap stack:
iload 6
anewarray sun.awt.X11.XIconSize
astore 9
start local 9 18: iconst_0
istore 10
start local 10 19: goto 24
20: StackMap locals: sun.awt.X11.XIconSize[] int
StackMap stack:
aload 9
iload 10
new sun.awt.X11.XIconSize
dup
lload 7
invokespecial sun.awt.X11.XIconSize.<init>:(J)V
aastore
21: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 23
22: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "sizes_ptr[{1}] = {0}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 9
iload 10
aaload
aastore
dup
iconst_1
iload 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
iinc 10 1
lload 7
invokestatic sun.awt.X11.XIconSize.getSize:()I
i2l
ladd
lstore 7
StackMap locals:
StackMap stack:
24: iload 10
iload 6
if_icmplt 20
end local 10 25: aload 9
astore 12
26: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
27: aload 12
areturn
end local 9 end local 7 end local 6 end local 4 end local 2 end local 1 28: StackMap locals: sun.awt.X11.XIconWindow
StackMap stack: java.lang.Throwable
astore 11
29: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
30: aload 11
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/awt/X11/XIconWindow;
2 28 1 adata Lsun/awt/X11/AwtGraphicsConfigData;
4 28 2 display J
10 28 4 status J
14 28 6 count I
15 28 7 sizes_ptr J
18 28 9 res [Lsun/awt/X11/XIconSize;
19 25 10 i I
Exception table:
from to target type
1 11 28 any
13 26 28 any
private java.awt.Dimension calcIconSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.awt.X11.XWM.getWMID:()I
bipush 10
if_icmpne 3
1: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Returning ICE_WM icon size: 16x16"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
2: new java.awt.Dimension
dup
bipush 16
bipush 16
invokespecial java.awt.Dimension.<init>:(II)V
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XIconWindow.getIconSizes:()[Lsun/awt/X11/XIconSize;
astore 3
start local 3 4: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 6
5: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Icon sizes: {0}"
aload 3
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: sun.awt.X11.XIconSize[]
StackMap stack:
aload 3
ifnonnull 8
7: new java.awt.Dimension
dup
bipush 16
bipush 16
invokespecial java.awt.Dimension.<init>:(II)V
areturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: iconst_m1
istore 5
start local 5 10: iconst_0
istore 7
start local 7 11: iconst_0
istore 10
start local 10 12: iconst_0
istore 11
start local 11 13: iconst_0
istore 12
start local 12 14: goto 50
15: StackMap locals: sun.awt.X11.XIconWindow int int sun.awt.X11.XIconSize[] int int top int top top int int int
StackMap stack:
iload 1
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
if_icmplt 49
16: iload 1
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
if_icmpgt 49
17: iload 2
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
if_icmplt 49
18: iload 2
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
if_icmpgt 49
19: iconst_1
istore 4
20: iload 1
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
isub
21: aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_width_inc:()I
22: irem
ifne 30
23: iload 2
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
isub
24: aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_height_inc:()I
25: irem
ifne 30
26: iload 1
istore 10
27: iload 2
istore 11
28: iconst_0
istore 5
29: goto 51
30: StackMap locals:
StackMap stack:
iload 1
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
isub
istore 7
31: iload 7
ifne 34
32: iload 1
istore 9
start local 9 33: goto 36
end local 9 34: StackMap locals:
StackMap stack:
iload 7
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_width_inc:()I
irem
istore 7
35: iload 1
iload 7
isub
istore 9
start local 9 36: StackMap locals: sun.awt.X11.XIconWindow int int sun.awt.X11.XIconSize[] int int top int top int int int int
StackMap stack:
iload 2
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
isub
istore 7
37: iload 7
ifne 40
38: iload 2
istore 8
start local 8 39: goto 42
end local 8 40: StackMap locals:
StackMap stack:
iload 7
aload 3
iload 12
aaload
invokevirtual sun.awt.X11.XIconSize.get_height_inc:()I
irem
istore 7
41: iload 2
iload 7
isub
istore 8
start local 8 42: StackMap locals: sun.awt.X11.XIconWindow int int sun.awt.X11.XIconSize[] int int top int int int int int int
StackMap stack:
iload 9
iload 9
imul
43: iload 8
iload 8
imul
44: iadd
istore 6
start local 6 45: iload 5
iload 6
if_icmple 49
46: iload 9
istore 10
47: iload 8
istore 11
48: iload 6
istore 5
end local 9 end local 8 end local 6 49: StackMap locals: sun.awt.X11.XIconWindow int int sun.awt.X11.XIconSize[] int int top int top top int int int
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
50: iload 12
aload 3
arraylength
if_icmplt 15
end local 12 51: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 53
52: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "found="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
53: StackMap locals:
StackMap stack:
iload 4
ifne 84
54: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 62
55: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "widthHint="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", heightHint="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
56: ldc ", saveWidth="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", saveHeight="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 11
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
57: ldc ", max_width="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
58: ldc ", max_height="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
59: ldc ", min_width="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
60: ldc ", min_height="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
61: invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
62: StackMap locals:
StackMap stack:
iload 1
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
if_icmpgt 64
63: iload 2
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
if_icmple 77
64: StackMap locals:
StackMap stack:
iload 1
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
isub
istore 12
start local 12 65: iload 2
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
isub
istore 13
start local 13 66: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 68
67: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "wdiff="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", hdiff="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
68: StackMap locals: int int
StackMap stack:
iload 12
iload 13
if_icmplt 73
69: aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
istore 10
70: aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
i2d
iload 1
i2d
ddiv
iload 2
i2d
dmul
d2i
71: istore 11
72: goto 84
73: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
i2d
iload 2
i2d
ddiv
iload 1
i2d
dmul
d2i
74: istore 10
75: aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
istore 11
end local 13 end local 12 76: goto 84
StackMap locals:
StackMap stack:
77: iload 1
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
if_icmplt 79
78: iload 2
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
if_icmpge 82
79: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_width:()I
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_width:()I
iadd
iconst_2
idiv
istore 10
80: aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_min_height:()I
aload 3
iconst_0
aaload
invokevirtual sun.awt.X11.XIconSize.get_max_height:()I
iadd
iconst_2
idiv
istore 11
81: goto 84
82: StackMap locals:
StackMap stack:
iload 1
istore 10
83: iload 1
istore 11
84: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
85: aload 3
iconst_0
aaload
getfield sun.awt.X11.XIconSize.pData:J
invokestatic sun.awt.X11.XlibWrapper.XFree:(J)V
86: goto 90
StackMap locals:
StackMap stack: java.lang.Throwable
87: astore 12
88: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
89: aload 12
athrow
90: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
91: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 93
92: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 11
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
93: StackMap locals:
StackMap stack:
new java.awt.Dimension
dup
iload 10
iload 11
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 11 end local 10 end local 7 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 94 0 this Lsun/awt/X11/XIconWindow;
0 94 1 widthHint I
0 94 2 heightHint I
4 94 3 sizeList [Lsun/awt/X11/XIconSize;
9 94 4 found Z
10 94 5 dist I
45 49 6 newDist I
11 94 7 diff I
39 40 8 closestHeight I
42 49 8 closestHeight I
33 34 9 closestWidth I
36 49 9 closestWidth I
12 94 10 saveWidth I
13 94 11 saveHeight I
14 51 12 i I
65 76 12 wdiff I
66 76 13 hdiff I
Exception table:
from to target type
85 87 87 any
MethodParameters:
Name Flags
widthHint
heightHint
java.awt.Dimension getIconSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.X11.XIconWindow.size:Ljava/awt/Dimension;
ifnonnull 2
1: aload 0
aload 0
iload 1
iload 2
invokevirtual sun.awt.X11.XIconWindow.calcIconSize:(II)Ljava/awt/Dimension;
putfield sun.awt.X11.XIconWindow.size:Ljava/awt/Dimension;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XIconWindow.size:Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XIconWindow;
0 3 1 widthHint I
0 3 2 heightHint I
MethodParameters:
Name Flags
widthHint
heightHint
void replaceImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0000)
Code:
stack=14, locals=18, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
ifnull 19
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
ifeq 19
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
ifeq 19
4: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 3
start local 3 5: aload 3
invokevirtual java.awt.GraphicsConfiguration.getColorModel:()Ljava/awt/image/ColorModel;
astore 4
start local 4 6: aload 4
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
invokevirtual java.awt.image.ColorModel.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
astore 5
start local 5 7: new java.awt.image.BufferedImage
dup
aload 4
aload 5
aload 4
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
astore 2
8: aload 2
invokevirtual java.awt.image.BufferedImage.getGraphics:()Ljava/awt/Graphics;
astore 6
start local 6 9: aload 6
getstatic java.awt.SystemColor.window:Ljava/awt/SystemColor;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 6
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
11: aload 6
instanceof java.awt.Graphics2D
ifeq 13
12: aload 6
checkcast java.awt.Graphics2D
getstatic java.awt.AlphaComposite.Src:Ljava/awt/AlphaComposite;
invokevirtual java.awt.Graphics2D.setComposite:(Ljava/awt/Composite;)V
13: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage java.awt.GraphicsConfiguration java.awt.image.ColorModel java.awt.image.WritableRaster java.awt.Graphics
StackMap stack:
aload 6
aload 1
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
14: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 7
16: aload 6
invokevirtual java.awt.Graphics.dispose:()V
17: aload 7
athrow
18: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.awt.Graphics.dispose:()V
end local 6 end local 5 end local 4 end local 3 19: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
20: aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
lconst_0
lcmp
ifeq 24
21: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokestatic sun.awt.X11.XlibWrapper.XFreePixmap:(JJ)V
22: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconPixmap:J
23: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Freed previous pixmap"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
aload 2
ifnull 25
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
ifeq 25
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
ifne 27
25: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
26: return
27: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getGraphicsConfigurationData:()Lsun/awt/X11/AwtGraphicsConfigData;
astore 3
start local 3 28: aload 3
iconst_0
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awtImage:(I)Lsun/awt/X11/awtImageData;
astore 4
start local 4 29: aload 3
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awt_visInfo:()Lsun/awt/X11/XVisualInfo;
astore 5
start local 5 30: aload 0
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
31: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 5
invokevirtual sun.awt.X11.XVisualInfo.get_screen:()I
i2l
invokestatic sun.awt.X11.XlibWrapper.RootWindow:(JJ)J
32: aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
33: aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
34: aload 4
invokevirtual sun.awt.X11.awtImageData.get_Depth:()I
35: invokestatic sun.awt.X11.XlibWrapper.XCreatePixmap:(JJIII)J
putfield sun.awt.X11.XIconWindow.iconPixmap:J
36: aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
lconst_0
lcmp
ifne 40
37: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Can't create new pixmap for icon"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
38: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
39: return
40: StackMap locals: sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo
StackMap stack:
lconst_0
lstore 6
start local 6 41: aload 2
invokevirtual java.awt.image.BufferedImage.getData:()Ljava/awt/image/Raster;
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 8
start local 8 42: aload 8
instanceof java.awt.image.DataBufferByte
ifeq 57
43: aload 8
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 9
start local 9 44: aload 3
iconst_0
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_color_data:(I)Lsun/awt/X11/ColorData;
astore 10
start local 10 45: aload 10
invokevirtual sun.awt.X11.ColorData.get_awt_numICMcolors:()I
istore 11
start local 11 46: iconst_0
istore 12
start local 12 47: goto 54
48: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo long java.awt.image.DataBuffer byte[] sun.awt.X11.ColorData int int
StackMap stack:
aload 9
iload 12
baload
invokestatic java.lang.Byte.toUnsignedInt:(B)I
istore 13
start local 13 49: aload 9
iload 12
iload 13
iload 11
if_icmplt 51
50: iconst_0
goto 52
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo long java.awt.image.DataBuffer byte[] sun.awt.X11.ColorData int int int
StackMap stack: byte[] int
51: aload 10
iload 13
invokevirtual sun.awt.X11.ColorData.get_awt_icmLUT2Colors:(I)B
52: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo long java.awt.image.DataBuffer byte[] sun.awt.X11.ColorData int int int
StackMap stack: byte[] int int
bastore
end local 13 53: iinc 12 1
StackMap locals:
StackMap stack:
54: iload 12
aload 9
arraylength
if_icmplt 48
end local 12 55: aload 9
invokestatic sun.awt.X11.Native.toData:([B)J
lstore 6
end local 11 end local 10 end local 9 56: goto 64
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo long java.awt.image.DataBuffer
StackMap stack:
57: aload 8
instanceof java.awt.image.DataBufferInt
ifeq 60
58: aload 8
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
invokestatic sun.awt.X11.Native.toData:([I)J
lstore 6
59: goto 64
StackMap locals:
StackMap stack:
60: aload 8
instanceof java.awt.image.DataBufferUShort
ifeq 63
61: aload 8
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
invokestatic sun.awt.X11.Native.toData:([S)J
lstore 6
62: goto 64
63: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown data buffer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
64: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.awt.X11.awtImageData.get_wsImageFormat:()Lsun/awt/X11/XPixmapFormatValues;
invokevirtual sun.awt.X11.XPixmapFormatValues.get_bits_per_pixel:()I
istore 9
start local 9 65: aload 4
invokevirtual sun.awt.X11.awtImageData.get_wsImageFormat:()Lsun/awt/X11/XPixmapFormatValues;
invokevirtual sun.awt.X11.XPixmapFormatValues.get_scanline_pad:()I
istore 10
start local 10 66: aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
iload 9
imul
iload 10
invokestatic sun.awt.X11.XIconWindow.paddedwidth:(II)I
iconst_3
ishr
istore 11
start local 11 67: iload 11
iconst_3
ishl
iload 9
idiv
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
if_icmpge 71
68: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Image format doesn't fit to icon width"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
69: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
70: return
71: StackMap locals: int int int
StackMap stack:
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
72: aload 5
invokevirtual sun.awt.X11.XVisualInfo.get_visual:()J
73: aload 4
invokevirtual sun.awt.X11.awtImageData.get_Depth:()I
74: iconst_2
75: iconst_0
76: lload 6
77: aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
78: aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
79: bipush 32
80: iload 11
81: invokestatic sun.awt.X11.XlibWrapper.XCreateImage:(JJIIIJIIII)J
lstore 12
start local 12 82: lload 12
lconst_0
lcmp
ifne 88
83: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Can't create XImage for icon"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
84: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokestatic sun.awt.X11.XlibWrapper.XFreePixmap:(JJ)V
85: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconPixmap:J
86: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
87: return
88: StackMap locals: long
StackMap stack:
getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Created XImage for icon"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
89: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
lconst_0
lconst_0
invokestatic sun.awt.X11.XlibWrapper.XCreateGC:(JJJJ)J
lstore 14
start local 14 90: lload 14
lconst_0
lcmp
ifne 96
91: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Can't create GC for pixmap"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
92: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokestatic sun.awt.X11.XlibWrapper.XFreePixmap:(JJ)V
93: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconPixmap:J
94: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
95: return
96: StackMap locals: long
StackMap stack:
getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Created GC for pixmap"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
97: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
lload 14
98: lload 12
iconst_0
iconst_0
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
99: invokestatic sun.awt.X11.XlibWrapper.XPutImage:(JJJJIIIIII)V
100: goto 104
StackMap locals:
StackMap stack: java.lang.Throwable
101: astore 16
102: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 14
invokestatic sun.awt.X11.XlibWrapper.XFreeGC:(JJ)V
103: aload 16
athrow
104: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 14
invokestatic sun.awt.X11.XlibWrapper.XFreeGC:(JJ)V
end local 14 end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 105: goto 109
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage
StackMap stack: java.lang.Throwable
106: astore 17
107: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
108: aload 17
athrow
109: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
110: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 111 0 this Lsun/awt/X11/XIconWindow;
0 111 1 img Ljava/awt/Image;
3 111 2 bi Ljava/awt/image/BufferedImage;
5 19 3 defaultGC Ljava/awt/GraphicsConfiguration;
6 19 4 model Ljava/awt/image/ColorModel;
7 19 5 raster Ljava/awt/image/WritableRaster;
9 19 6 g Ljava/awt/Graphics;
28 105 3 adata Lsun/awt/X11/AwtGraphicsConfigData;
29 105 4 awtImage Lsun/awt/X11/awtImageData;
30 105 5 visInfo Lsun/awt/X11/XVisualInfo;
41 105 6 bytes J
42 105 8 srcBuf Ljava/awt/image/DataBuffer;
44 56 9 buf [B
45 56 10 cdata Lsun/awt/X11/ColorData;
46 56 11 num_colors I
47 55 12 i I
49 53 13 b I
65 105 9 bpp I
66 105 10 slp I
67 105 11 bpsl I
82 105 12 dst J
90 105 14 gc J
Exception table:
from to target type
9 15 15 any
97 101 101 any
20 25 106 any
27 38 106 any
40 69 106 any
71 86 106 any
88 94 106 any
96 106 106 any
MethodParameters:
Name Flags
img
void replaceMask(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0000)
Code:
stack=9, locals=16, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
ifnull 12
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
ifeq 12
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
ifeq 12
4: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
iconst_2
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 2
5: aload 2
invokevirtual java.awt.image.BufferedImage.getGraphics:()Ljava/awt/Graphics;
astore 3
start local 3 6: aload 3
aload 1
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
7: goto 11
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage java.awt.Graphics
StackMap stack: java.lang.Throwable
8: astore 4
9: aload 3
invokevirtual java.awt.Graphics.dispose:()V
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Graphics.dispose:()V
end local 3 12: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
13: aload 0
getfield sun.awt.X11.XIconWindow.iconMask:J
lconst_0
lcmp
ifeq 17
14: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconMask:J
invokestatic sun.awt.X11.XlibWrapper.XFreePixmap:(JJ)V
15: aload 0
lconst_0
putfield sun.awt.X11.XIconWindow.iconMask:J
16: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Freed previous mask"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 2
ifnull 18
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
ifeq 18
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
ifne 20
18: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
19: return
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getGraphicsConfigurationData:()Lsun/awt/X11/AwtGraphicsConfigData;
astore 3
start local 3 21: aload 3
iconst_0
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awtImage:(I)Lsun/awt/X11/awtImageData;
pop
22: aload 3
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awt_visInfo:()Lsun/awt/X11/XVisualInfo;
astore 4
start local 4 23: aload 2
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
astore 5
start local 5 24: aload 2
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 6
start local 6 25: iconst_0
istore 7
start local 7 26: aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
bipush 7
iadd
iconst_3
ishr
istore 8
start local 8 27: iload 8
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
imul
newarray 8
astore 9
start local 9 28: iconst_0
istore 10
start local 10 29: iconst_0
istore 11
start local 11 30: goto 47
31: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.XVisualInfo java.awt.image.ColorModel java.awt.image.DataBuffer int int byte[] int int
StackMap stack:
iconst_0
istore 12
start local 12 32: iconst_0
istore 13
start local 13 33: iconst_0
istore 14
start local 14 34: goto 45
35: StackMap locals: int int int
StackMap stack:
aload 5
aload 6
iload 7
invokevirtual java.awt.image.DataBuffer.getElem:(I)I
invokevirtual java.awt.image.ColorModel.getAlpha:(I)I
ifeq 37
36: iload 13
iconst_1
iload 12
ishl
iadd
istore 13
37: StackMap locals:
StackMap stack:
iinc 12 1
38: iload 12
bipush 8
if_icmpne 43
39: aload 9
iload 10
iload 13
i2b
bastore
40: iconst_0
istore 13
41: iconst_0
istore 12
42: iinc 10 1
43: StackMap locals:
StackMap stack:
iinc 7 1
44: iinc 14 1
StackMap locals:
StackMap stack:
45: iload 14
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
if_icmplt 35
end local 14 end local 13 end local 12 46: iinc 11 1
StackMap locals:
StackMap stack:
47: iload 11
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
if_icmplt 31
end local 11 48: aload 0
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
49: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 4
invokevirtual sun.awt.X11.XVisualInfo.get_screen:()I
i2l
invokestatic sun.awt.X11.XlibWrapper.RootWindow:(JJ)J
50: aload 9
invokestatic sun.awt.X11.Native.toData:([B)J
51: aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
52: invokestatic sun.awt.X11.XlibWrapper.XCreateBitmapFromData:(JJJII)J
putfield sun.awt.X11.XIconWindow.iconMask:J
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 53: goto 57
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image java.awt.image.BufferedImage
StackMap stack: java.lang.Throwable
54: astore 15
55: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
56: aload 15
athrow
57: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
58: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lsun/awt/X11/XIconWindow;
0 59 1 img Ljava/awt/Image;
3 59 2 bi Ljava/awt/image/BufferedImage;
6 12 3 g Ljava/awt/Graphics;
21 53 3 adata Lsun/awt/X11/AwtGraphicsConfigData;
23 53 4 visInfo Lsun/awt/X11/XVisualInfo;
24 53 5 cm Ljava/awt/image/ColorModel;
25 53 6 srcBuf Ljava/awt/image/DataBuffer;
26 53 7 sidx I
27 53 8 bpl I
28 53 9 destBuf [B
29 53 10 didx I
30 48 11 i I
32 46 12 dbit I
33 46 13 cv I
34 46 14 j I
Exception table:
from to target type
6 8 8 any
13 18 54 any
20 54 54 any
MethodParameters:
Name Flags
img
void setIconImages(java.util.List<sun.awt.IconInfo>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.List.size:()I
ifne 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
ldc 2147483647
istore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: sun.awt.X11.XIconWindow java.util.List int java.awt.Image top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.awt.IconInfo
astore 4
start local 4 6: aload 4
invokevirtual sun.awt.IconInfo.isValid:()Z
ifeq 14
7: aload 4
invokevirtual sun.awt.IconInfo.getImage:()Ljava/awt/Image;
astore 6
start local 6 8: aload 0
aload 6
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
aload 6
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
invokevirtual sun.awt.X11.XIconWindow.calcIconSize:(II)Ljava/awt/Dimension;
astore 7
start local 7 9: aload 7
getfield java.awt.Dimension.width:I
aload 6
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
isub
invokestatic java.lang.Math.abs:(I)I
istore 8
start local 8 10: aload 6
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
aload 7
getfield java.awt.Dimension.height:I
isub
invokestatic java.lang.Math.abs:(I)I
istore 9
start local 9 11: iload 2
iload 8
iload 9
iadd
if_icmplt 14
12: iload 8
iload 9
iadd
istore 2
13: aload 6
astore 3
end local 9 end local 8 end local 7 end local 6 end local 4 14: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
15: aload 3
ifnull 19
16: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 18
17: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Icon: {0}x{1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;[Ljava/lang/Object;)V
18: StackMap locals: sun.awt.X11.XIconWindow java.util.List int java.awt.Image
StackMap stack:
aload 0
aload 3
invokevirtual sun.awt.X11.XIconWindow.setIconImage:(Ljava/awt/Image;)V
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/awt/X11/XIconWindow;
0 20 1 icons Ljava/util/List<Lsun/awt/IconInfo;>;
3 20 2 minDiff I
4 20 3 min Ljava/awt/Image;
6 14 4 iconInfo Lsun/awt/IconInfo;
8 14 6 image Ljava/awt/Image;
9 14 7 dim Ljava/awt/Dimension;
10 14 8 widthDiff I
11 14 9 heightDiff I
Signature: (Ljava/util/List<Lsun/awt/IconInfo;>;)V
MethodParameters:
Name Flags
icons
void setIconImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0000)
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: aload 0
aconst_null
invokevirtual sun.awt.X11.XIconWindow.replaceImage:(Ljava/awt/Image;)V
2: aload 0
aconst_null
invokevirtual sun.awt.X11.XIconWindow.replaceMask:(Ljava/awt/Image;)V
3: goto 24
4: StackMap locals:
StackMap stack:
aload 1
instanceof sun.awt.image.ToolkitImage
ifeq 10
5: aload 1
checkcast sun.awt.image.ToolkitImage
invokevirtual sun.awt.image.ToolkitImage.getImageRep:()Lsun/awt/image/ImageRepresentation;
astore 4
start local 4 6: aload 4
bipush 32
invokevirtual sun.awt.image.ImageRepresentation.reconstruct:(I)V
7: aload 4
invokevirtual sun.awt.image.ImageRepresentation.getWidth:()I
istore 2
start local 2 8: aload 4
invokevirtual sun.awt.image.ImageRepresentation.getHeight:()I
istore 3
end local 4 start local 3 9: goto 12
end local 3 end local 2 10: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
istore 2
start local 2 11: aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
istore 3
start local 3 12: StackMap locals: int int
StackMap stack:
aload 0
iload 2
iload 3
invokevirtual sun.awt.X11.XIconWindow.getIconSize:(II)Ljava/awt/Dimension;
astore 4
start local 4 13: aload 4
ifnull 19
14: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINEST:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 16
15: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Icon size: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
16: StackMap locals: java.awt.Dimension
StackMap stack:
aload 0
aload 4
getfield java.awt.Dimension.width:I
putfield sun.awt.X11.XIconWindow.iconWidth:I
17: aload 0
aload 4
getfield java.awt.Dimension.height:I
putfield sun.awt.X11.XIconWindow.iconHeight:I
18: goto 22
19: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Error calculating image size"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
20: aload 0
iconst_0
putfield sun.awt.X11.XIconWindow.iconWidth:I
21: aload 0
iconst_0
putfield sun.awt.X11.XIconWindow.iconHeight:I
22: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.X11.XIconWindow.replaceImage:(Ljava/awt/Image;)V
23: aload 0
aload 1
invokevirtual sun.awt.X11.XIconWindow.replaceMask:(Ljava/awt/Image;)V
end local 4 end local 3 end local 2 24: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
25: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getGraphicsConfigurationData:()Lsun/awt/X11/AwtGraphicsConfigData;
astore 2
start local 2 26: aload 2
iconst_0
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awtImage:(I)Lsun/awt/X11/awtImageData;
astore 3
start local 3 27: aload 2
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awt_visInfo:()Lsun/awt/X11/XVisualInfo;
astore 4
start local 4 28: aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getWMHints:()Lsun/awt/X11/XWMHints;
astore 5
start local 5 29: aload 0
aload 5
invokevirtual sun.awt.X11.XWMHints.get_icon_window:()J
putfield sun.awt.X11.XIconWindow.window:J
30: aload 0
getfield sun.awt.X11.XIconWindow.window:J
lconst_0
lcmp
ifne 48
31: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Icon window wasn't set"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
32: aload 0
invokevirtual sun.awt.X11.XIconWindow.getDelayedParams:()Lsun/awt/X11/XCreateWindowParams;
astore 6
start local 6 33: aload 6
ldc "border pixel"
invokestatic sun.awt.X11.XToolkit.getAwtDefaultFg:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
34: aload 6
ldc "pixmap"
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
35: aload 6
ldc "color map"
aload 2
invokevirtual sun.awt.X11.AwtGraphicsConfigData.get_awt_cmap:()J
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
36: aload 6
ldc "visual depth"
aload 3
invokevirtual sun.awt.X11.awtImageData.get_Depth:()I
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;I)Lsun/awt/X11/XCreateWindowParams;
pop
37: aload 6
ldc "visual class"
iconst_1
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;I)Lsun/awt/X11/XCreateWindowParams;
pop
38: aload 6
ldc "visual"
aload 4
invokevirtual sun.awt.X11.XVisualInfo.get_visual:()J
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
39: aload 6
ldc "value mask"
ldc 8201
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
40: aload 6
ldc "parent window"
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 4
invokevirtual sun.awt.X11.XVisualInfo.get_screen:()I
i2l
invokestatic sun.awt.X11.XlibWrapper.RootWindow:(JJ)J
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;J)Lsun/awt/X11/XCreateWindowParams;
pop
41: aload 6
ldc "bounds"
new java.awt.Rectangle
dup
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XIconWindow.iconWidth:I
aload 0
getfield sun.awt.X11.XIconWindow.iconHeight:I
invokespecial java.awt.Rectangle.<init>:(IIII)V
invokevirtual sun.awt.X11.XCreateWindowParams.add:(Ljava/lang/Object;Ljava/lang/Object;)Lsun/awt/X11/XCreateWindowParams;
pop
42: aload 6
ldc "delayed"
invokevirtual sun.awt.X11.XCreateWindowParams.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
43: aload 0
aload 6
invokevirtual sun.awt.X11.XIconWindow.init:(Lsun/awt/X11/XCreateWindowParams;)V
44: aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
lconst_0
lcmp
ifne 47
45: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Can't create new icon window"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
46: goto 48
47: StackMap locals: sun.awt.X11.XIconWindow java.awt.Image sun.awt.X11.AwtGraphicsConfigData sun.awt.X11.awtImageData sun.awt.X11.XVisualInfo sun.awt.X11.XWMHints sun.awt.X11.XCreateWindowParams
StackMap stack:
getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Created new icon window"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
end local 6 48: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
lconst_0
lcmp
ifeq 51
49: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokestatic sun.awt.X11.XlibWrapper.XSetWindowBackgroundPixmap:(JJJ)V
50: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
invokestatic sun.awt.X11.XlibWrapper.XClearWindow:(JJ)V
51: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.awt.X11.XWMHints.get_flags:()J
ldc 4
lor
ldc 32
lor
lstore 6
start local 6 52: aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
lconst_0
lcmp
ifeq 54
53: lload 6
ldc 8
lor
lstore 6
54: StackMap locals: long
StackMap stack:
aload 5
lload 6
invokevirtual sun.awt.X11.XWMHints.set_flags:(J)V
55: aload 5
aload 0
getfield sun.awt.X11.XIconWindow.iconPixmap:J
invokevirtual sun.awt.X11.XWMHints.set_icon_pixmap:(J)V
56: aload 5
aload 0
getfield sun.awt.X11.XIconWindow.iconMask:J
invokevirtual sun.awt.X11.XWMHints.set_icon_mask:(J)V
57: aload 5
aload 0
invokevirtual sun.awt.X11.XIconWindow.getWindow:()J
invokevirtual sun.awt.X11.XWMHints.set_icon_window:(J)V
58: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XIconWindow.parent:Lsun/awt/X11/XDecoratedPeer;
invokevirtual sun.awt.X11.XDecoratedPeer.getShell:()J
aload 5
getfield sun.awt.X11.XWMHints.pData:J
invokestatic sun.awt.X11.XlibWrapper.XSetWMHints:(JJJ)V
59: getstatic sun.awt.X11.XIconWindow.log:Lsun/util/logging/PlatformLogger;
ldc "Set icon window hint"
invokevirtual sun.util.logging.PlatformLogger.finest:(Ljava/lang/String;)V
end local 6 end local 5 end local 4 end local 3 end local 2 60: goto 64
StackMap locals: sun.awt.X11.XIconWindow java.awt.Image
StackMap stack: java.lang.Throwable
61: astore 8
62: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
63: aload 8
athrow
64: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
65: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lsun/awt/X11/XIconWindow;
0 66 1 img Ljava/awt/Image;
8 10 2 width I
11 24 2 width I
9 10 3 height I
12 24 3 height I
6 9 4 ir Lsun/awt/image/ImageRepresentation;
13 24 4 iconSize Ljava/awt/Dimension;
26 60 2 adata Lsun/awt/X11/AwtGraphicsConfigData;
27 60 3 awtImage Lsun/awt/X11/awtImageData;
28 60 4 visInfo Lsun/awt/X11/XVisualInfo;
29 60 5 hints Lsun/awt/X11/XWMHints;
33 48 6 params Lsun/awt/X11/XCreateWindowParams;
52 60 6 newFlags J
Exception table:
from to target type
25 61 61 any
MethodParameters:
Name Flags
img
static int paddedwidth(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iconst_1
isub
iadd
iload 1
iconst_1
isub
iconst_m1
ixor
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 number I
0 1 1 boundary I
MethodParameters:
Name Flags
number
boundary
}
SourceFile: "XIconWindow.java"
InnerClasses:
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger