public class sun.security.util.FilePermCompat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.FilePermCompat
super_class: java.lang.Object
{
public static final boolean nb;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean compat;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: ldc "jdk.io.permissionsUseCanonicalPath"
ldc "false"
1: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: aload 0
dup
astore 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
3569038: 3
97196323: 4
default: 11
}
StackMap locals: java.lang.String java.lang.String
StackMap stack:
3: aload 1
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 11
StackMap locals:
StackMap stack:
4: aload 1
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 11
5: StackMap locals:
StackMap stack:
iconst_0
putstatic sun.security.util.FilePermCompat.nb:Z
6: iconst_0
putstatic sun.security.util.FilePermCompat.compat:Z
7: goto 14
8: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.security.util.FilePermCompat.nb:Z
9: iconst_1
putstatic sun.security.util.FilePermCompat.compat:Z
10: goto 14
11: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
12: new java.lang.StringBuilder
dup
ldc "Invalid jdk.io.permissionsUseCanonicalPath: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 14: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 14 0 flag Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/security/util/FilePermCompat;
public static java.security.Permission newPermPlusAltPath(java.security.Permission);
descriptor: (Ljava/security/Permission;)Ljava/security/Permission;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.util.FilePermCompat.compat:Z
ifeq 4
aload 0
instanceof java.io.FilePermission
ifeq 4
1: invokestatic jdk.internal.misc.SharedSecrets.getJavaIOFilePermissionAccess:()Ljdk/internal/misc/JavaIOFilePermissionAccess;
2: aload 0
checkcast java.io.FilePermission
invokeinterface jdk.internal.misc.JavaIOFilePermissionAccess.newPermPlusAltPath:(Ljava/io/FilePermission;)Ljava/io/FilePermission;
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 input Ljava/security/Permission;
MethodParameters:
Name Flags
input
public static java.security.Permission newPermUsingAltPath(java.security.Permission);
descriptor: (Ljava/security/Permission;)Ljava/security/Permission;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.io.FilePermission
ifeq 4
1: invokestatic jdk.internal.misc.SharedSecrets.getJavaIOFilePermissionAccess:()Ljdk/internal/misc/JavaIOFilePermissionAccess;
2: aload 0
checkcast java.io.FilePermission
invokeinterface jdk.internal.misc.JavaIOFilePermissionAccess.newPermUsingAltPath:(Ljava/io/FilePermission;)Ljava/io/FilePermission;
3: areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 input Ljava/security/Permission;
MethodParameters:
Name Flags
input
}
SourceFile: "FilePermCompat.java"