final class sun.awt.X11.XNETProtocol extends sun.awt.X11.XProtocol implements sun.awt.X11.XStateProtocol, sun.awt.X11.XLayerProtocol
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XNETProtocol
super_class: sun.awt.X11.XProtocol
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.util.logging.PlatformLogger iconLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.util.logging.PlatformLogger stateLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
sun.awt.X11.XAtom XA_UTF8_STRING;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_SUPPORTING_WM_CHECK;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_SUPPORTED;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_ACTIVE_WINDOW;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_NAME;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_MAXIMIZED_HORZ;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_MAXIMIZED_VERT;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_SHADED;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_ABOVE;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_MODAL;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_FULLSCREEN;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_BELOW;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_HIDDEN;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom XA_NET_WM_STATE_SKIP_TASKBAR;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
sun.awt.X11.XAtom ;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
public final sun.awt.X11.XAtom XA_NET_WM_WINDOW_TYPE;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final sun.awt.X11.XAtom XA_NET_WM_WINDOW_TYPE_NORMAL;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final sun.awt.X11.XAtom XA_NET_WM_WINDOW_TYPE_DIALOG;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final sun.awt.X11.XAtom XA_NET_WM_WINDOW_TYPE_UTILITY;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final sun.awt.X11.XAtom ;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
sun.awt.X11.XAtom XA_NET_WM_WINDOW_OPACITY;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0000)
static final int _NET_WM_STATE_REMOVE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int _NET_WM_STATE_ADD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int _NET_WM_STATE_TOGGLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
boolean supportChecked;
descriptor: Z
flags: (0x0000)
long NetWindow;
descriptor: J
flags: (0x0000)
java.lang.String net_wm_name_cache;
descriptor: Ljava/lang/String;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.X11.XNETProtocol"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
1: ldc "sun.awt.X11.icon.XNETProtocol"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XNETProtocol.iconLog:Lsun/util/logging/PlatformLogger;
2: ldc "sun.awt.X11.states.XNETProtocol"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XNETProtocol.stateLog:Lsun/util/logging/PlatformLogger;
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.X11.XProtocol.<init>:()V
1: aload 0
ldc "UTF8_STRING"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_UTF8_STRING:Lsun/awt/X11/XAtom;
2: aload 0
ldc "_NET_SUPPORTING_WM_CHECK"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTING_WM_CHECK:Lsun/awt/X11/XAtom;
3: aload 0
ldc "_NET_SUPPORTED"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
4: aload 0
ldc "_NET_ACTIVE_WINDOW"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_ACTIVE_WINDOW:Lsun/awt/X11/XAtom;
5: aload 0
ldc "_NET_WM_NAME"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_NAME:Lsun/awt/X11/XAtom;
6: aload 0
ldc "_NET_WM_STATE"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE:Lsun/awt/X11/XAtom;
7: aload 0
ldc "_NET_WM_STATE_MAXIMIZED_HORZ"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
8: aload 0
ldc "_NET_WM_STATE_MAXIMIZED_VERT"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
9: aload 0
ldc "_NET_WM_STATE_SHADED"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_SHADED:Lsun/awt/X11/XAtom;
10: aload 0
ldc "_NET_WM_STATE_ABOVE"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_ABOVE:Lsun/awt/X11/XAtom;
11: aload 0
ldc "_NET_WM_STATE_MODAL"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MODAL:Lsun/awt/X11/XAtom;
12: aload 0
ldc "_NET_WM_STATE_FULLSCREEN"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_FULLSCREEN:Lsun/awt/X11/XAtom;
13: aload 0
ldc "_NET_WM_STATE_BELOW"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_BELOW:Lsun/awt/X11/XAtom;
14: aload 0
ldc "_NET_WM_STATE_HIDDEN"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_HIDDEN:Lsun/awt/X11/XAtom;
15: aload 0
ldc "_NET_WM_STATE_SKIP_TASKBAR"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_SKIP_TASKBAR:Lsun/awt/X11/XAtom;
16: aload 0
ldc "_NET_WM_STATE_SKIP_PAGER"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_SKIP_PAGER:Lsun/awt/X11/XAtom;
17: aload 0
ldc "_NET_WM_WINDOW_TYPE"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_TYPE:Lsun/awt/X11/XAtom;
18: aload 0
ldc "_NET_WM_WINDOW_TYPE_NORMAL"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_TYPE_NORMAL:Lsun/awt/X11/XAtom;
19: aload 0
ldc "_NET_WM_WINDOW_TYPE_DIALOG"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_TYPE_DIALOG:Lsun/awt/X11/XAtom;
20: aload 0
ldc "_NET_WM_WINDOW_TYPE_UTILITY"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_TYPE_UTILITY:Lsun/awt/X11/XAtom;
21: aload 0
ldc "_NET_WM_WINDOW_TYPE_POPUP_MENU"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_TYPE_POPUP_MENU:Lsun/awt/X11/XAtom;
22: aload 0
ldc "_NET_WM_WINDOW_OPACITY"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_OPACITY:Lsun/awt/X11/XAtom;
23: aload 0
iconst_0
putfield sun.awt.X11.XNETProtocol.supportChecked:Z
24: aload 0
lconst_0
putfield sun.awt.X11.XNETProtocol.NetWindow:J
25: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/awt/X11/XNETProtocol;
public boolean supportsState(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.doStateProtocol:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XNETProtocol;
0 1 1 state I
MethodParameters:
Name Flags
state
public void setState(sun.awt.X11.XWindowPeer, int);
descriptor: (Lsun/awt/X11/XWindowPeer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Setting state of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.X11.XWindowPeer.isShowing:()Z
ifeq 5
3: aload 0
aload 1
iload 2
invokevirtual sun.awt.X11.XNETProtocol.requestState:(Lsun/awt/X11/XWindowPeer;I)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual sun.awt.X11.XNETProtocol.setInitialState:(Lsun/awt/X11/XWindowPeer;I)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XNETProtocol;
0 7 1 window Lsun/awt/X11/XWindowPeer;
0 7 2 state I
MethodParameters:
Name Flags
window
state
private void setInitialState(sun.awt.X11.XWindowPeer, int);
descriptor: (Lsun/awt/X11/XWindowPeer;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.awt.X11.XWindowPeer.getNETWMState:()Lsun/awt/X11/XAtomList;
astore 3
start local 3 1: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 3
2: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Current state of the window {0} is {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals: sun.awt.X11.XAtomList
StackMap stack:
iload 2
iconst_4
iand
ifeq 6
4: aload 3
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.add:(Lsun/awt/X11/XAtom;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.remove:(Lsun/awt/X11/XAtom;)V
7: StackMap locals:
StackMap stack:
iload 2
iconst_2
iand
ifeq 10
8: aload 3
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.add:(Lsun/awt/X11/XAtom;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.remove:(Lsun/awt/X11/XAtom;)V
11: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 13
12: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Setting initial state of the window {0} to {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual sun.awt.X11.XWindowPeer.setNETWMState:(Lsun/awt/X11/XAtomList;)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XNETProtocol;
0 15 1 window Lsun/awt/X11/XWindowPeer;
0 15 2 state I
1 15 3 old_state Lsun/awt/X11/XAtomList;
MethodParameters:
Name Flags
window
state
private void requestState(sun.awt.X11.XWindowPeer, int);
descriptor: (Lsun/awt/X11/XWindowPeer;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.awt.X11.XNETProtocol.getState:(Lsun/awt/X11/XWindowPeer;)I
istore 3
start local 3 1: iload 2
iload 3
ixor
bipush 6
iand
istore 4
start local 4 2: new sun.awt.X11.XClientMessageEvent
dup
invokespecial sun.awt.X11.XClientMessageEvent.<init>:()V
astore 5
start local 5 3: iload 4
tableswitch { // 0 - 6
0: 4
1: 15
2: 6
3: 15
4: 9
5: 15
6: 12
default: 15
}
4: StackMap locals: int int sun.awt.X11.XClientMessageEvent
StackMap stack:
aload 5
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
5: return
6: StackMap locals:
StackMap stack:
aload 5
iconst_1
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
7: aload 5
iconst_2
lconst_0
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
8: goto 17
9: StackMap locals:
StackMap stack:
aload 5
iconst_1
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
10: aload 5
iconst_2
lconst_0
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
11: goto 17
12: StackMap locals:
StackMap stack:
aload 5
iconst_1
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
13: aload 5
iconst_2
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
14: goto 17
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
16: return
17: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 19
18: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Requesting state on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 5
bipush 33
invokevirtual sun.awt.X11.XClientMessageEvent.set_type:(I)V
20: aload 5
aload 1
invokevirtual sun.awt.X11.XWindowPeer.getWindow:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_window:(J)V
21: aload 5
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_message_type:(J)V
22: aload 5
bipush 32
invokevirtual sun.awt.X11.XClientMessageEvent.set_format:(I)V
23: aload 5
iconst_0
ldc 2
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
24: invokestatic sun.awt.X11.XToolkit.awtLock:()V
25: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
26: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 1
invokevirtual sun.awt.X11.XWindowPeer.getScreenNumber:()J
invokestatic sun.awt.X11.XlibWrapper.RootWindow:(JJ)J
27: iconst_0
28: ldc 1572864
29: aload 5
getfield sun.awt.X11.XClientMessageEvent.pData:J
30: invokestatic sun.awt.X11.XlibWrapper.XSendEvent:(JJZJJ)I
pop
31: goto 35
32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
33: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
34: aload 6
athrow
35: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
36: goto 40
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 7
38: aload 5
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
39: aload 7
athrow
40: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
41: return
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 42 0 this Lsun/awt/X11/XNETProtocol;
0 42 1 window Lsun/awt/X11/XWindowPeer;
0 42 2 state I
1 42 3 old_net_state I
2 42 4 max_changed I
3 42 5 req Lsun/awt/X11/XClientMessageEvent;
Exception table:
from to target type
25 32 32 any
3 4 37 any
6 15 37 any
17 37 37 any
MethodParameters:
Name Flags
window
state
public int getState(sun.awt.X11.XWindowPeer);
descriptor: (Lsun/awt/X11/XWindowPeer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.X11.XNETProtocol.getStateImpl:(Lsun/awt/X11/XWindowPeer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XNETProtocol;
0 1 1 window Lsun/awt/X11/XWindowPeer;
MethodParameters:
Name Flags
window
int getStateImpl(sun.awt.X11.XWindowPeer);
descriptor: (Lsun/awt/X11/XWindowPeer;)I
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XWindowPeer.getNETWMState:()Lsun/awt/X11/XAtomList;
astore 2
start local 2 1: aload 2
invokevirtual sun.awt.X11.XAtomList.size:()I
ifne 3
2: iconst_0
ireturn
3: StackMap locals: sun.awt.X11.XAtomList
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 2
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_VERT:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.contains:(Lsun/awt/X11/XAtom;)Z
ifeq 6
5: iload 3
iconst_4
ior
istore 3
6: StackMap locals: int
StackMap stack:
aload 2
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MAXIMIZED_HORZ:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.contains:(Lsun/awt/X11/XAtom;)Z
ifeq 8
7: iload 3
iconst_2
ior
istore 3
8: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XNETProtocol;
0 9 1 window Lsun/awt/X11/XWindowPeer;
1 9 2 net_wm_state Lsun/awt/X11/XAtomList;
4 9 3 java_state I
MethodParameters:
Name Flags
window
public boolean isStateChange(sun.awt.X11.XPropertyEvent);
descriptor: (Lsun/awt/X11/XPropertyEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.doStateProtocol:()Z
ifeq 1
aload 1
invokevirtual sun.awt.X11.XPropertyEvent.get_atom:()J
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 2
ifeq 6
4: aload 1
invokevirtual sun.awt.X11.XPropertyEvent.get_window:()J
invokestatic sun.awt.X11.XToolkit.windowToXWindow:(J)Lsun/awt/X11/XBaseWindow;
checkcast sun.awt.X11.XWindowPeer
astore 3
start local 3 5: aload 3
aconst_null
invokevirtual sun.awt.X11.XWindowPeer.setNETWMState:(Lsun/awt/X11/XAtomList;)V
end local 3 6: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XNETProtocol;
0 7 1 e Lsun/awt/X11/XPropertyEvent;
3 7 2 res Z
5 6 3 wpeer Lsun/awt/X11/XWindowPeer;
MethodParameters:
Name Flags
e
public void unshadeKludge(sun.awt.X11.XWindowPeer);
descriptor: (Lsun/awt/X11/XWindowPeer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XWindowPeer.getNETWMState:()Lsun/awt/X11/XAtomList;
astore 2
start local 2 1: aload 2
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_SHADED:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.remove:(Lsun/awt/X11/XAtom;)V
2: aload 1
aload 2
invokevirtual sun.awt.X11.XWindowPeer.setNETWMState:(Lsun/awt/X11/XAtomList;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XNETProtocol;
0 4 1 window Lsun/awt/X11/XWindowPeer;
1 4 2 net_wm_state Lsun/awt/X11/XAtomList;
MethodParameters:
Name Flags
window
public boolean supportsLayer(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpeq 1
iload 1
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual sun.awt.X11.XNETProtocol.doLayerProtocol:()Z
ifeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XNETProtocol;
0 3 1 layer I
MethodParameters:
Name Flags
layer
public void requestState(sun.awt.X11.XWindow, sun.awt.X11.XAtom, boolean);
descriptor: (Lsun/awt/X11/XWindow;Lsun/awt/X11/XAtom;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.awt.X11.XClientMessageEvent
dup
invokespecial sun.awt.X11.XClientMessageEvent.<init>:()V
astore 4
start local 4 1: aload 4
bipush 33
invokevirtual sun.awt.X11.XClientMessageEvent.set_type:(I)V
2: aload 4
aload 1
invokevirtual sun.awt.X11.XWindow.getWindow:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_window:(J)V
3: aload 4
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_message_type:(J)V
4: aload 4
bipush 32
invokevirtual sun.awt.X11.XClientMessageEvent.set_format:(I)V
5: aload 4
iconst_0
iload 3
ifeq 6
iconst_1
goto 7
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindow sun.awt.X11.XAtom int sun.awt.X11.XClientMessageEvent
StackMap stack: sun.awt.X11.XClientMessageEvent int
6: iconst_0
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindow sun.awt.X11.XAtom int sun.awt.X11.XClientMessageEvent
StackMap stack: sun.awt.X11.XClientMessageEvent int int
7: i2l
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
8: aload 4
iconst_1
aload 2
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
9: aload 4
iconst_2
lconst_0
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
10: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 12
11: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Setting _NET_STATE atom {0} on {1} for {2}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
13: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
14: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 1
invokevirtual sun.awt.X11.XWindow.getScreenNumber:()J
invokestatic sun.awt.X11.XlibWrapper.RootWindow:(JJ)J
15: iconst_0
16: ldc 1572864
17: aload 4
getfield sun.awt.X11.XClientMessageEvent.pData:J
18: invokestatic sun.awt.X11.XlibWrapper.XSendEvent:(JJZJJ)I
pop
19: goto 23
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
21: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
22: aload 5
athrow
23: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
24: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 6
26: aload 4
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
27: aload 6
athrow
28: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/awt/X11/XNETProtocol;
0 30 1 window Lsun/awt/X11/XWindow;
0 30 2 state Lsun/awt/X11/XAtom;
0 30 3 isAdd Z
1 30 4 req Lsun/awt/X11/XClientMessageEvent;
Exception table:
from to target type
13 20 20 any
1 25 25 any
MethodParameters:
Name Flags
window
state
isAdd
private void setStateHelper(sun.awt.X11.XWindowPeer, sun.awt.X11.XAtom, boolean);
descriptor: (Lsun/awt/X11/XWindowPeer;Lsun/awt/X11/XAtom;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic sun.awt.X11.XNETProtocol.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 5
1: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Window visibility is: withdrawn={0}, visible={1}, mapped={2} showing={3}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
2: aload 1
invokevirtual sun.awt.X11.XWindowPeer.isWithdrawn:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_1
aload 1
invokevirtual sun.awt.X11.XWindowPeer.isVisible:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_2
3: aload 1
invokevirtual sun.awt.X11.XWindowPeer.isMapped:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_3
aload 1
invokevirtual sun.awt.X11.XWindowPeer.isShowing:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
4: invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.X11.XWindowPeer.isShowing:()Z
ifeq 8
6: aload 0
aload 1
aload 2
iload 3
invokevirtual sun.awt.X11.XNETProtocol.requestState:(Lsun/awt/X11/XWindow;Lsun/awt/X11/XAtom;Z)V
7: goto 18
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.X11.XWindowPeer.getNETWMState:()Lsun/awt/X11/XAtomList;
astore 4
start local 4 9: getstatic sun.awt.X11.XNETProtocol.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 11
10: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Current state on {0} is {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 4
aastore
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals: sun.awt.X11.XAtomList
StackMap stack:
iload 3
ifne 14
12: aload 4
aload 2
invokevirtual sun.awt.X11.XAtomList.remove:(Lsun/awt/X11/XAtom;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 4
aload 2
invokevirtual sun.awt.X11.XAtomList.add:(Lsun/awt/X11/XAtom;)V
15: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 17
16: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
ldc "Setting states on {0} to {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 4
aastore
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual sun.awt.X11.XWindowPeer.setNETWMState:(Lsun/awt/X11/XAtomList;)V
end local 4 18: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.XSync:()V
19: 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/XNETProtocol;
0 20 1 window Lsun/awt/X11/XWindowPeer;
0 20 2 state Lsun/awt/X11/XAtom;
0 20 3 set Z
9 18 4 net_wm_state Lsun/awt/X11/XAtomList;
MethodParameters:
Name Flags
window
state
set
public void setLayer(sun.awt.X11.XWindowPeer, int);
descriptor: (Lsun/awt/X11/XWindowPeer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_ABOVE:Lsun/awt/X11/XAtom;
iload 2
iconst_1
if_icmpne 1
iconst_1
goto 2
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer int
StackMap stack: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer sun.awt.X11.XAtom
1: iconst_0
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer int
StackMap stack: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer sun.awt.X11.XAtom int
2: invokevirtual sun.awt.X11.XNETProtocol.setStateHelper:(Lsun/awt/X11/XWindowPeer;Lsun/awt/X11/XAtom;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XNETProtocol;
0 4 1 window Lsun/awt/X11/XWindowPeer;
0 4 2 layer I
MethodParameters:
Name Flags
window
layer
void detect();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XNETProtocol.supportChecked:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTING_WM_CHECK:Lsun/awt/X11/XAtom;
ldc 33
invokevirtual sun.awt.X11.XNETProtocol.checkAnchor:(Lsun/awt/X11/XAtom;J)J
putfield sun.awt.X11.XNETProtocol.NetWindow:J
3: aload 0
iconst_1
putfield sun.awt.X11.XNETProtocol.supportChecked:Z
4: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 8
5: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "### "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is active: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XNETProtocol.NetWindow:J
lconst_0
lcmp
ifeq 6
iconst_1
goto 7
StackMap locals: sun.awt.X11.XNETProtocol
StackMap stack: sun.util.logging.PlatformLogger java.lang.StringBuilder
6: iconst_0
StackMap locals: sun.awt.X11.XNETProtocol
StackMap stack: sun.util.logging.PlatformLogger java.lang.StringBuilder int
7: invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XNETProtocol;
boolean active();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.detect:()V
1: aload 0
getfield sun.awt.X11.XNETProtocol.NetWindow:J
lconst_0
lcmp
ifeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XNETProtocol;
boolean doStateProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifeq 1
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XNETProtocol.checkProtocol:(Lsun/awt/X11/XAtom;Lsun/awt/X11/XAtom;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: getstatic sun.awt.X11.XNETProtocol.stateLog: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 5
4: getstatic sun.awt.X11.XNETProtocol.stateLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "doStateProtocol() returns "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
5: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XNETProtocol;
3 6 1 res Z
boolean doLayerProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifeq 1
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_ABOVE:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XNETProtocol.checkProtocol:(Lsun/awt/X11/XAtom;Lsun/awt/X11/XAtom;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XNETProtocol;
3 4 1 res Z
boolean doModalityProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifeq 1
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_MODAL:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XNETProtocol.checkProtocol:(Lsun/awt/X11/XAtom;Lsun/awt/X11/XAtom;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XNETProtocol;
3 4 1 res Z
boolean doOpacityProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifeq 1
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_WINDOW_OPACITY:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XNETProtocol.checkProtocol:(Lsun/awt/X11/XAtom;Lsun/awt/X11/XAtom;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XNETProtocol;
3 4 1 res Z
public void setActiveWindow(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifeq 1
aload 0
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_SUPPORTED:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_ACTIVE_WINDOW:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XNETProtocol.checkProtocol:(Lsun/awt/X11/XAtom;Lsun/awt/X11/XAtom;)Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
new sun.awt.X11.XClientMessageEvent
dup
invokespecial sun.awt.X11.XClientMessageEvent.<init>:()V
astore 3
start local 3 3: aload 3
invokevirtual sun.awt.X11.XClientMessageEvent.zero:()V
4: aload 3
bipush 33
invokevirtual sun.awt.X11.XClientMessageEvent.set_type:(I)V
5: aload 3
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_ACTIVE_WINDOW:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_message_type:(J)V
6: aload 3
invokestatic sun.awt.X11.XToolkit.getDisplay:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_display:(J)V
7: aload 3
lload 1
invokevirtual sun.awt.X11.XClientMessageEvent.set_window:(J)V
8: aload 3
bipush 32
invokevirtual sun.awt.X11.XClientMessageEvent.set_format:(I)V
9: aload 3
iconst_0
lconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
10: aload 3
iconst_1
invokestatic sun.awt.X11.XToolkit.getCurrentServerTime:()J
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
11: aload 3
iconst_2
lconst_0
invokevirtual sun.awt.X11.XClientMessageEvent.set_data:(IJ)V
12: invokestatic sun.awt.X11.XToolkit.awtLock:()V
13: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
iconst_0
14: ldc 1572864
aload 3
invokevirtual sun.awt.X11.XClientMessageEvent.getPData:()J
15: invokestatic sun.awt.X11.XlibWrapper.XSendEvent:(JJZJJ)I
pop
16: goto 21
StackMap locals: sun.awt.X11.XNETProtocol long sun.awt.X11.XClientMessageEvent
StackMap stack: java.lang.Throwable
17: astore 4
18: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
19: aload 3
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
20: aload 4
athrow
21: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
22: aload 3
invokevirtual sun.awt.X11.XClientMessageEvent.dispose:()V
23: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/awt/X11/XNETProtocol;
0 24 1 window J
3 24 3 msg Lsun/awt/X11/XClientMessageEvent;
Exception table:
from to target type
13 17 17 any
MethodParameters:
Name Flags
window
boolean isWMName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XNETProtocol.getWMName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 7
6: getstatic sun.awt.X11.XNETProtocol.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "### WM_NAME = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XNETProtocol;
0 8 1 name Ljava/lang/String;
3 8 2 net_wm_name_string Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getWMName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.active:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XNETProtocol.net_wm_name_cache:Ljava/lang/String;
ifnull 4
3: aload 0
getfield sun.awt.X11.XNETProtocol.net_wm_name_cache:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc "UTF8"
astore 1
start local 1 5: aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_NAME:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.NetWindow:J
aload 0
getfield sun.awt.X11.XNETProtocol.XA_UTF8_STRING:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XAtom.getByteArrayProperty:(JJ)[B
astore 2
start local 2 6: aload 2
ifnonnull 9
7: aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_NAME:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XNETProtocol.NetWindow:J
ldc 31
invokevirtual sun.awt.X11.XAtom.getByteArrayProperty:(JJ)[B
astore 2
8: ldc "ASCII"
astore 1
9: StackMap locals: java.lang.String byte[]
StackMap stack:
aload 2
ifnonnull 11
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
aload 0
new java.lang.String
dup
aload 2
aload 1
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
putfield sun.awt.X11.XNETProtocol.net_wm_name_cache:Ljava/lang/String;
12: aload 0
getfield sun.awt.X11.XNETProtocol.net_wm_name_cache:Ljava/lang/String;
13: areturn
14: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
15: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/X11/XNETProtocol;
5 16 1 charSet Ljava/lang/String;
6 16 2 net_wm_name [B
Exception table:
from to target type
11 13 14 Class java.io.UnsupportedEncodingException
public void setWMIcons(sun.awt.X11.XWindowPeer, java.util.List<sun.awt.IconInfo>);
descriptor: (Lsun/awt/X11/XWindowPeer;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
ldc "_NET_WM_ICON"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
astore 3
start local 3 2: aload 2
ifnonnull 5
3: aload 3
aload 1
invokevirtual sun.awt.X11.XAtom.DeleteProperty:(Lsun/awt/X11/XBaseWindow;)V
4: return
5: StackMap locals: sun.awt.X11.XAtom
StackMap stack:
iconst_0
istore 4
start local 4 6: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.awt.IconInfo
astore 5
start local 5 8: iload 4
aload 5
invokevirtual sun.awt.IconInfo.getRawLength:()I
iadd
istore 4
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: getstatic sun.awt.X11.XlibWrapper.dataModel:I
bipush 32
if_icmpne 11
iconst_4
goto 12
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int
StackMap stack:
11: bipush 8
StackMap locals:
StackMap stack: int
12: istore 5
start local 5 13: iload 4
iload 5
imul
istore 6
start local 6 14: iload 6
ifeq 33
15: getstatic sun.awt.X11.XlibWrapper.unsafe:Ljdk/internal/misc/Unsafe;
iload 6
i2l
invokevirtual jdk.internal.misc.Unsafe.allocateMemory:(J)J
lstore 7
start local 7 16: lload 7
lstore 9
start local 9 17: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 25
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int int int long long top java.util.Iterator
StackMap stack:
18: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.awt.IconInfo
astore 11
start local 11 19: aload 11
invokevirtual sun.awt.IconInfo.getRawLength:()I
iload 5
imul
istore 13
start local 13 20: getstatic sun.awt.X11.XlibWrapper.dataModel:I
bipush 32
if_icmpne 23
21: lload 9
aload 11
invokevirtual sun.awt.IconInfo.getIntData:()[I
iload 13
invokestatic sun.awt.X11.XlibWrapper.copyIntArray:(JLjava/lang/Object;I)V
22: goto 24
23: StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int int int long long sun.awt.IconInfo java.util.Iterator int
StackMap stack:
lload 9
aload 11
invokevirtual sun.awt.IconInfo.getLongData:()[J
iload 13
invokestatic sun.awt.X11.XlibWrapper.copyLongArray:(JLjava/lang/Object;I)V
24: StackMap locals:
StackMap stack:
lload 9
iload 13
i2l
ladd
lstore 9
end local 13 end local 11 25: StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int int int long long top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
26: aload 3
aload 1
invokevirtual sun.awt.X11.XWindowPeer.getWindow:()J
ldc 6
lload 7
iload 6
invokestatic sun.awt.X11.Native.getCard32Size:()I
idiv
invokevirtual sun.awt.X11.XAtom.setAtomData:(JJJI)V
end local 9 27: goto 31
StackMap locals: sun.awt.X11.XNETProtocol sun.awt.X11.XWindowPeer java.util.List sun.awt.X11.XAtom int int int long
StackMap stack: java.lang.Throwable
28: astore 14
29: getstatic sun.awt.X11.XlibWrapper.unsafe:Ljdk/internal/misc/Unsafe;
lload 7
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
30: aload 14
athrow
31: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XlibWrapper.unsafe:Ljdk/internal/misc/Unsafe;
lload 7
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
end local 7 32: goto 34
33: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual sun.awt.X11.XAtom.DeleteProperty:(Lsun/awt/X11/XBaseWindow;)V
34: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/awt/X11/XNETProtocol;
0 35 1 window Lsun/awt/X11/XWindowPeer;
0 35 2 icons Ljava/util/List<Lsun/awt/IconInfo;>;
2 35 3 iconsAtom Lsun/awt/X11/XAtom;
6 35 4 length I
8 9 5 ii Lsun/awt/IconInfo;
13 35 5 cardinalSize I
14 35 6 bufferSize I
16 32 7 buffer J
17 27 9 ptr J
19 25 11 ii Lsun/awt/IconInfo;
20 25 13 size I
Exception table:
from to target type
16 28 28 any
Signature: (Lsun/awt/X11/XWindowPeer;Ljava/util/List<Lsun/awt/IconInfo;>;)V
MethodParameters:
Name Flags
window
icons
public boolean isWMStateNetHidden(sun.awt.X11.XWindowPeer);
descriptor: (Lsun/awt/X11/XWindowPeer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XNETProtocol.doStateProtocol:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.X11.XWindowPeer.getNETWMState:()Lsun/awt/X11/XAtomList;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokevirtual sun.awt.X11.XAtomList.size:()I
ifeq 4
aload 2
aload 0
getfield sun.awt.X11.XNETProtocol.XA_NET_WM_STATE_HIDDEN:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtomList.contains:(Lsun/awt/X11/XAtom;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: sun.awt.X11.XAtomList
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XNETProtocol;
0 5 1 window Lsun/awt/X11/XWindowPeer;
3 5 2 state Lsun/awt/X11/XAtomList;
MethodParameters:
Name Flags
window
}
SourceFile: "XNETProtocol.java"
InnerClasses:
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger