class sun.nio.fs.SolarisAclFileAttributeView extends sun.nio.fs.AbstractAclFileAttributeView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.SolarisAclFileAttributeView
super_class: sun.nio.fs.AbstractAclFileAttributeView
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MAX_ACL_ENTRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final short SIZEOF_ACE_T;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 12
private static final short OFFSETOF_UID;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final short OFFSETOF_MASK;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final short OFFSETOF_FLAGS;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final short OFFSETOF_TYPE;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private final sun.nio.fs.UnixPath file;
descriptor: Lsun/nio/fs/UnixPath;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean followLinks;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putstatic sun.nio.fs.SolarisAclFileAttributeView.unsafe:Lsun/misc/Unsafe;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.nio.fs.UnixPath, boolean);
descriptor: (Lsun/nio/fs/UnixPath;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.nio.fs.AbstractAclFileAttributeView.<init>:()V
1: aload 0
aload 1
putfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
2: aload 0
iload 2
putfield sun.nio.fs.SolarisAclFileAttributeView.followLinks:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
0 4 1 file Lsun/nio/fs/UnixPath;
0 4 2 followLinks Z
MethodParameters:
Name Flags
file
followLinks
private void checkAccess(sun.nio.fs.UnixPath, boolean, boolean);
descriptor: (Lsun/nio/fs/UnixPath;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 1: aload 4
ifnull 7
2: iload 2
ifeq 4
3: aload 1
invokevirtual sun.nio.fs.UnixPath.checkRead:()V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
iload 3
ifeq 6
5: aload 1
invokevirtual sun.nio.fs.UnixPath.checkWrite:()V
6: StackMap locals:
StackMap stack:
aload 4
new java.lang.RuntimePermission
dup
ldc "accessUserInformation"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
0 8 1 file Lsun/nio/fs/UnixPath;
0 8 2 checkRead Z
0 8 3 checkWrite Z
1 8 4 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
file
checkRead
checkWrite
private static void encode(java.util.List<java.nio.file.attribute.AclEntry>, );
descriptor: (Ljava/util/List;J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tACE_OWNER cannot be resolved to a variable\n\tACE_GROUP cannot be resolved to a variable\n\tACE_IDENTIFIER_GROUP cannot be resolved to a variable\n\tACE_EVERYONE cannot be resolved to a variable\n\tACE_IDENTIFIER_GROUP cannot be resolved to a variable\n\tACE_ACCESS_ALLOWED_ACE_TYPE cannot be resolved to a variable\n\tACE_ACCESS_DENIED_ACE_TYPE cannot be resolved to a variable\n\tACE_SYSTEM_AUDIT_ACE_TYPE cannot be resolved to a variable\n\tACE_SYSTEM_ALARM_ACE_TYPE cannot be resolved to a variable\n\tACE_READ_DATA cannot be resolved to a variable\n\tACE_WRITE_DATA cannot be resolved to a variable\n\tACE_APPEND_DATA cannot be resolved to a variable\n\tACE_READ_NAMED_ATTRS cannot be resolved to a variable\n\tACE_WRITE_NAMED_ATTRS cannot be resolved to a variable\n\tACE_EXECUTE cannot be resolved to a variable\n\tACE_DELETE_CHILD cannot be resolved to a variable\n\tACE_READ_ATTRIBUTES cannot be resolved to a variable\n\tACE_WRITE_ATTRIBUTES cannot be resolved to a variable\n\tACE_DELETE cannot be resolved to a variable\n\tACE_READ_ACL cannot be resolved to a variable\n\tACE_WRITE_ACL cannot be resolved to a variable\n\tACE_WRITE_OWNER cannot be resolved to a variable\n\tACE_SYNCHRONIZE cannot be resolved to a variable\n\tACE_FILE_INHERIT_ACE cannot be resolved to a variable\n\tACE_DIRECTORY_INHERIT_ACE cannot be resolved to a variable\n\tACE_NO_PROPAGATE_INHERIT_ACE cannot be resolved to a variable\n\tACE_INHERIT_ONLY_ACE cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/util/List<Ljava/nio/file/attribute/AclEntry;>;J)V
MethodParameters:
Name Flags
acl
address
private static java.util.List<java.nio.file.attribute.AclEntry> decode(long, int);
descriptor: (JI)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tACE_OWNER cannot be resolved to a variable\n\tACE_GROUP cannot be resolved to a variable\n\tACE_EVERYONE cannot be resolved to a variable\n\tACE_IDENTIFIER_GROUP cannot be resolved to a variable\n\tACE_ACCESS_ALLOWED_ACE_TYPE cannot be resolved to a variable\n\tACE_ACCESS_DENIED_ACE_TYPE cannot be resolved to a variable\n\tACE_SYSTEM_AUDIT_ACE_TYPE cannot be resolved to a variable\n\tACE_SYSTEM_ALARM_ACE_TYPE cannot be resolved to a variable\n\tACE_READ_DATA cannot be resolved to a variable\n\tACE_WRITE_DATA cannot be resolved to a variable\n\tACE_APPEND_DATA cannot be resolved to a variable\n\tACE_READ_NAMED_ATTRS cannot be resolved to a variable\n\tACE_WRITE_NAMED_ATTRS cannot be resolved to a variable\n\tACE_EXECUTE cannot be resolved to a variable\n\tACE_DELETE_CHILD cannot be resolved to a variable\n\tACE_READ_ATTRIBUTES cannot be resolved to a variable\n\tACE_WRITE_ATTRIBUTES cannot be resolved to a variable\n\tACE_DELETE cannot be resolved to a variable\n\tACE_READ_ACL cannot be resolved to a variable\n\tACE_WRITE_ACL cannot be resolved to a variable\n\tACE_WRITE_OWNER cannot be resolved to a variable\n\tACE_SYNCHRONIZE cannot be resolved to a variable\n\tACE_FILE_INHERIT_ACE cannot be resolved to a variable\n\tACE_DIRECTORY_INHERIT_ACE cannot be resolved to a variable\n\tACE_NO_PROPAGATE_INHERIT_ACE cannot be resolved to a variable\n\tACE_INHERIT_ONLY_ACE cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (JI)Ljava/util/List<Ljava/nio/file/attribute/AclEntry;>;
MethodParameters:
Name Flags
address
n
private static boolean isAclsEnabled(int);
descriptor: (I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\t_PC_ACL_ENABLED cannot be resolved to a variable\n\t_ACL_ACE_ENABLED cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
fd
public java.util.List<java.nio.file.attribute.AclEntry> getAcl();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tACE_GETACL cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/nio/file/attribute/AclEntry;>;
public void setAcl(java.util.List<java.nio.file.attribute.AclEntry>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tACE_SETACL cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Ljava/nio/file/attribute/AclEntry;>;)V
MethodParameters:
Name Flags
acl
public java.nio.file.attribute.UserPrincipal getOwner();
descriptor: ()Ljava/nio/file/attribute/UserPrincipal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
iconst_1
iconst_0
invokevirtual sun.nio.fs.SolarisAclFileAttributeView.checkAccess:(Lsun/nio/fs/UnixPath;ZZ)V
1: aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.followLinks:Z
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
2: astore 1
start local 1 3: aload 1
invokevirtual sun.nio.fs.UnixFileAttributes.uid:()I
invokestatic sun.nio.fs.UnixUserPrincipals.fromUid:(I)Lsun/nio/fs/UnixUserPrincipals$User;
4: areturn
end local 1 5: StackMap locals:
StackMap stack: sun.nio.fs.UnixException
astore 1
start local 1 6: aload 1
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
3 5 1 attrs Lsun/nio/fs/UnixFileAttributes;
6 8 1 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
1 4 5 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
public void setOwner(java.nio.file.attribute.UserPrincipal);
descriptor: (Ljava/nio/file/attribute/UserPrincipal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
iconst_1
iconst_0
invokevirtual sun.nio.fs.SolarisAclFileAttributeView.checkAccess:(Lsun/nio/fs/UnixPath;ZZ)V
1: aload 1
instanceof sun.nio.fs.UnixUserPrincipals$User
ifne 3
2: new java.nio.file.ProviderMismatchException
dup
invokespecial java.nio.file.ProviderMismatchException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
instanceof sun.nio.fs.UnixUserPrincipals$Group
ifeq 5
4: new java.io.IOException
dup
ldc "'owner' parameter is a group"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
checkcast sun.nio.fs.UnixUserPrincipals$User
invokevirtual sun.nio.fs.UnixUserPrincipals$User.uid:()I
istore 2
start local 2 6: aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.followLinks:Z
ifeq 9
7: aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
iload 2
iconst_m1
invokestatic sun.nio.fs.UnixNativeDispatcher.lchown:(Lsun/nio/fs/UnixPath;II)V
8: goto 13
9: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
iload 2
iconst_m1
invokestatic sun.nio.fs.UnixNativeDispatcher.chown:(Lsun/nio/fs/UnixPath;II)V
10: goto 13
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
11: astore 3
start local 3 12: aload 3
aload 0
getfield sun.nio.fs.SolarisAclFileAttributeView.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/fs/SolarisAclFileAttributeView;
0 14 1 owner Ljava/nio/file/attribute/UserPrincipal;
6 14 2 uid I
12 13 3 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
6 10 11 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
owner
}
SourceFile: "SolarisAclFileAttributeView.java"
InnerClasses:
Group = sun.nio.fs.UnixUserPrincipals$Group of sun.nio.fs.UnixUserPrincipals
User = sun.nio.fs.UnixUserPrincipals$User of sun.nio.fs.UnixUserPrincipals