public class com.sun.javafx.tk.PermissionHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.tk.PermissionHelper
super_class: java.lang.Object
{
private static boolean awtInitialized;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.security.Permission awtClipboardPermission;
descriptor: Ljava/security/Permission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.sun.javafx.tk.PermissionHelper.awtInitialized:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized java.security.Permission getAWTClipboardPermission();
descriptor: ()Ljava/security/Permission;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=0
0: getstatic com.sun.javafx.tk.PermissionHelper.awtInitialized:Z
ifne 10
1: ldc "java.awt.AWTPermission"
2: iconst_0
ldc Lcom/sun/javafx/tk/PermissionHelper;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
3: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 0
start local 0 4: aload 0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 1
start local 1 5: aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "accessClipboard"
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.Permission
putstatic com.sun.javafx.tk.PermissionHelper.awtClipboardPermission:Ljava/security/Permission;
end local 1 end local 0 6: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
7: pop
8: aconst_null
putstatic com.sun.javafx.tk.PermissionHelper.awtClipboardPermission:Ljava/security/Permission;
9: StackMap locals:
StackMap stack:
iconst_1
putstatic com.sun.javafx.tk.PermissionHelper.awtInitialized:Z
10: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.tk.PermissionHelper.awtClipboardPermission:Ljava/security/Permission;
areturn
LocalVariableTable:
Start End Slot Name Signature
4 6 0 clazz Ljava/lang/Class;
5 6 1 c Ljava/lang/reflect/Constructor;
Exception table:
from to target type
1 6 7 Class java.lang.Exception
public static void checkClipboardPermission();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnonnull 2
return
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
getstatic com.sun.javafx.FXPermissions.ACCESS_CLIPBOARD_PERMISSION:Ljavafx/util/FXPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: goto 11
StackMap locals:
StackMap stack: java.lang.SecurityException
4: astore 1
start local 1 5: invokestatic com.sun.javafx.tk.PermissionHelper.getAWTClipboardPermission:()Ljava/security/Permission;
astore 2
start local 2 6: aload 2
ifnonnull 7
aload 1
athrow
7: StackMap locals: java.lang.SecurityException java.security.Permission
StackMap stack:
aload 0
aload 2
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
8: goto 11
StackMap locals:
StackMap stack: java.lang.SecurityException
9: pop
10: aload 1
athrow
end local 2 end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 securityManager Ljava/lang/SecurityManager;
5 11 1 ex Ljava/lang/SecurityException;
6 11 2 perm Ljava/security/Permission;
Exception table:
from to target type
2 3 4 Class java.lang.SecurityException
7 8 9 Class java.lang.SecurityException
public static void checkClipboardPermission(java.security.AccessControlContext);
descriptor: (Ljava/security/AccessControlContext;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
ifnonnull 4
3: new java.security.AccessControlException
dup
ldc "AccessControlContext is null"
invokespecial java.security.AccessControlException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.javafx.FXPermissions.ACCESS_CLIPBOARD_PERMISSION:Ljavafx/util/FXPermission;
aload 0
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;Ljava/lang/Object;)V
5: goto 13
StackMap locals:
StackMap stack: java.lang.SecurityException
6: astore 2
start local 2 7: invokestatic com.sun.javafx.tk.PermissionHelper.getAWTClipboardPermission:()Ljava/security/Permission;
astore 3
start local 3 8: aload 3
ifnonnull 9
aload 2
athrow
9: StackMap locals: java.lang.SecurityException java.security.Permission
StackMap stack:
aload 1
aload 3
aload 0
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;Ljava/lang/Object;)V
10: goto 13
StackMap locals:
StackMap stack: java.lang.SecurityException
11: pop
12: aload 2
athrow
end local 3 end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 context Ljava/security/AccessControlContext;
1 14 1 securityManager Ljava/lang/SecurityManager;
7 13 2 ex Ljava/lang/SecurityException;
8 13 3 perm Ljava/security/Permission;
Exception table:
from to target type
4 5 6 Class java.lang.SecurityException
9 10 11 Class java.lang.SecurityException
MethodParameters:
Name Flags
context
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 Lcom/sun/javafx/tk/PermissionHelper;
}
SourceFile: "PermissionHelper.java"