public final class sun.awt.X11.XErrorHandlerUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XErrorHandlerUtil
super_class: java.lang.Object
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static long display;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long saved_error_handler;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static volatile sun.awt.X11.XErrorEvent saved_error;
descriptor: Lsun/awt/X11/XErrorEvent;
flags: (0x0048) ACC_STATIC, ACC_VOLATILE
private static sun.awt.X11.XErrorHandler current_error_handler;
descriptor: Lsun/awt/X11/XErrorHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean noisyAwtHandler;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean initPassed;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "sun.awt.X11.XErrorHandlerUtil"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XErrorHandlerUtil.log:Lsun/util/logging/PlatformLogger;
1: new sun.security.action.GetBooleanAction
dup
ldc "sun.awt.noisyerrorhandler"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic sun.awt.X11.XErrorHandlerUtil.noisyAwtHandler:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XErrorHandlerUtil;
private static void init(long);
descriptor: (J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic sun.awt.SunToolkit.awtLock:()V
1: getstatic sun.awt.X11.XErrorHandlerUtil.initPassed:Z
ifne 9
2: lload 0
putstatic sun.awt.X11.XErrorHandlerUtil.display:J
3: invokestatic sun.awt.X11.XlibWrapper.SetToolkitErrorHandler:()J
putstatic sun.awt.X11.XErrorHandlerUtil.saved_error_handler:J
4: iconst_1
putstatic sun.awt.X11.XErrorHandlerUtil.initPassed:Z
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: invokestatic sun.awt.SunToolkit.awtUnlock:()V
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
invokestatic sun.awt.SunToolkit.awtUnlock:()V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 display J
Exception table:
from to target type
1 6 6 any
MethodParameters:
Name Flags
display
public static void WITH_XERROR_HANDLER(sun.awt.X11.XErrorHandler);
descriptor: (Lsun/awt/X11/XErrorHandler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.X11.XErrorHandlerUtil.XSync:()V
1: aconst_null
putstatic sun.awt.X11.XErrorHandlerUtil.saved_error:Lsun/awt/X11/XErrorEvent;
2: aload 0
putstatic sun.awt.X11.XErrorHandlerUtil.current_error_handler:Lsun/awt/X11/XErrorHandler;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 handler Lsun/awt/X11/XErrorHandler;
MethodParameters:
Name Flags
handler
public static void RESTORE_XERROR_HANDLER();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.awt.X11.XErrorHandlerUtil.XSync:()V
1: aconst_null
putstatic sun.awt.X11.XErrorHandlerUtil.current_error_handler:Lsun/awt/X11/XErrorHandler;
2: return
LocalVariableTable:
Start End Slot Name Signature
public static int SAVED_XERROR_HANDLER(long, sun.awt.X11.XErrorEvent);
descriptor: (JLsun/awt/X11/XErrorEvent;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: getstatic sun.awt.X11.XErrorHandlerUtil.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
1: getstatic sun.awt.X11.XErrorHandlerUtil.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Unhandled XErrorEvent: id="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 2
invokevirtual sun.awt.X11.XErrorEvent.get_resourceid:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "serial="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.awt.X11.XErrorEvent.get_serial:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "ec="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.awt.X11.XErrorEvent.get_error_code:()B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "rc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.awt.X11.XErrorEvent.get_request_code:()B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "mc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.awt.X11.XErrorEvent.get_minor_code:()B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 display J
0 9 2 error Lsun/awt/X11/XErrorEvent;
MethodParameters:
Name Flags
display
error
private static int globalErrorHandler(long, long);
descriptor: (JJ)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 2 0: getstatic sun.awt.X11.XErrorHandlerUtil.noisyAwtHandler:Z
ifeq 2
1: lload 0
lload 2
invokestatic sun.awt.X11.XlibWrapper.PrintXErrorEvent:(JJ)V
2: StackMap locals:
StackMap stack:
new sun.awt.X11.XErrorEvent
dup
lload 2
invokespecial sun.awt.X11.XErrorEvent.<init>:(J)V
astore 4
start local 4 3: aload 4
putstatic sun.awt.X11.XErrorHandlerUtil.saved_error:Lsun/awt/X11/XErrorEvent;
4: getstatic sun.awt.X11.XErrorHandlerUtil.current_error_handler:Lsun/awt/X11/XErrorHandler;
ifnull 7
5: getstatic sun.awt.X11.XErrorHandlerUtil.current_error_handler:Lsun/awt/X11/XErrorHandler;
lload 0
aload 4
invokevirtual sun.awt.X11.XErrorHandler.handleError:(JLsun/awt/X11/XErrorEvent;)I
6: ireturn
7: StackMap locals: sun.awt.X11.XErrorEvent
StackMap stack:
lload 0
aload 4
invokestatic sun.awt.X11.XErrorHandlerUtil.SAVED_XERROR_HANDLER:(JLsun/awt/X11/XErrorEvent;)I
8: ireturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: getstatic sun.awt.X11.XErrorHandlerUtil.log:Lsun/util/logging/PlatformLogger;
ldc "Error in GlobalErrorHandler"
aload 5
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 5 11: iconst_0
ireturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 display J
0 12 2 event_ptr J
3 12 4 event Lsun/awt/X11/XErrorEvent;
10 11 5 z Ljava/lang/Throwable;
Exception table:
from to target type
4 6 9 Class java.lang.Throwable
7 8 9 Class java.lang.Throwable
MethodParameters:
Name Flags
display
event_ptr
private static void XSync();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic sun.awt.SunToolkit.awtLock:()V
1: getstatic sun.awt.X11.XErrorHandlerUtil.display:J
iconst_0
invokestatic sun.awt.X11.XlibWrapper.XSync:(JI)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 0
4: invokestatic sun.awt.SunToolkit.awtUnlock:()V
5: aload 0
athrow
6: StackMap locals:
StackMap stack:
invokestatic sun.awt.SunToolkit.awtUnlock:()V
7: return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 3 3 any
}
SourceFile: "XErrorHandlerUtil.java"
InnerClasses:
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger