class sun.nio.fs.UnixUserPrincipals
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.UnixUserPrincipals
super_class: java.lang.Object
{
static final sun.nio.fs.UnixUserPrincipals$User SPECIAL_OWNER;
descriptor: Lsun/nio/fs/UnixUserPrincipals$User;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.nio.fs.UnixUserPrincipals$User SPECIAL_GROUP;
descriptor: Lsun/nio/fs/UnixUserPrincipals$User;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.nio.fs.UnixUserPrincipals$User SPECIAL_EVERYONE;
descriptor: Lsun/nio/fs/UnixUserPrincipals$User;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "OWNER@"
invokestatic sun.nio.fs.UnixUserPrincipals.createSpecial:(Ljava/lang/String;)Lsun/nio/fs/UnixUserPrincipals$User;
putstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_OWNER:Lsun/nio/fs/UnixUserPrincipals$User;
1: ldc "GROUP@"
invokestatic sun.nio.fs.UnixUserPrincipals.createSpecial:(Ljava/lang/String;)Lsun/nio/fs/UnixUserPrincipals$User;
putstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_GROUP:Lsun/nio/fs/UnixUserPrincipals$User;
2: ldc "EVERYONE@"
invokestatic sun.nio.fs.UnixUserPrincipals.createSpecial:(Ljava/lang/String;)Lsun/nio/fs/UnixUserPrincipals$User;
putstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_EVERYONE:Lsun/nio/fs/UnixUserPrincipals$User;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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/nio/fs/UnixUserPrincipals;
private static sun.nio.fs.UnixUserPrincipals$User createSpecial(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/nio/fs/UnixUserPrincipals$User;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new sun.nio.fs.UnixUserPrincipals$User
dup
iconst_m1
aload 0
invokespecial sun.nio.fs.UnixUserPrincipals$User.<init>:(ILjava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
static sun.nio.fs.UnixUserPrincipals$User fromUid(int);
descriptor: (I)Lsun/nio/fs/UnixUserPrincipals$User;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getpwuid:(I)[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: sun.nio.fs.UnixException
2: pop
3: iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 1
start local 1 4: StackMap locals: java.lang.String
StackMap stack:
new sun.nio.fs.UnixUserPrincipals$User
dup
iload 0
aload 1
invokespecial sun.nio.fs.UnixUserPrincipals$User.<init>:(ILjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 uid I
1 2 1 name Ljava/lang/String;
4 5 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
uid
static sun.nio.fs.UnixUserPrincipals$Group fromGid(int);
descriptor: (I)Lsun/nio/fs/UnixUserPrincipals$Group;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getgrgid:(I)[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: sun.nio.fs.UnixException
2: pop
3: iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 1
start local 1 4: StackMap locals: java.lang.String
StackMap stack:
new sun.nio.fs.UnixUserPrincipals$Group
dup
iload 0
aload 1
invokespecial sun.nio.fs.UnixUserPrincipals$Group.<init>:(ILjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 gid I
1 2 1 name Ljava/lang/String;
4 5 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class sun.nio.fs.UnixException
MethodParameters:
Name Flags
gid
private static int lookupName(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
new java.lang.RuntimePermission
dup
ldc "lookupUserInformation"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
iload 1
ifeq 4
aload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getgrnam:(Ljava/lang/String;)I
goto 5
StackMap locals:
StackMap stack:
4: aload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getpwnam:(Ljava/lang/String;)I
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: goto 9
end local 3 StackMap locals:
StackMap stack: sun.nio.fs.UnixException
7: astore 4
start local 4 8: new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual sun.nio.fs.UnixException.errorString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 start local 3 9: StackMap locals: int
StackMap stack:
iload 3
iconst_m1
if_icmpne 14
10: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
11: goto 14
StackMap locals:
StackMap stack: java.lang.NumberFormatException
12: pop
13: new java.nio.file.attribute.UserPrincipalNotFoundException
dup
aload 0
invokespecial java.nio.file.attribute.UserPrincipalNotFoundException.<init>:(Ljava/lang/String;)V
athrow
14: 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 15 0 name Ljava/lang/String;
0 15 1 isGroup Z
1 15 2 sm Ljava/lang/SecurityManager;
6 7 3 id I
9 15 3 id I
8 9 4 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
3 6 7 Class sun.nio.fs.UnixException
10 11 12 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
isGroup
static java.nio.file.attribute.UserPrincipal lookupUser(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_OWNER:Lsun/nio/fs/UnixUserPrincipals$User;
invokevirtual sun.nio.fs.UnixUserPrincipals$User.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_OWNER:Lsun/nio/fs/UnixUserPrincipals$User;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_GROUP:Lsun/nio/fs/UnixUserPrincipals$User;
invokevirtual sun.nio.fs.UnixUserPrincipals$User.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_GROUP:Lsun/nio/fs/UnixUserPrincipals$User;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_EVERYONE:Lsun/nio/fs/UnixUserPrincipals$User;
invokevirtual sun.nio.fs.UnixUserPrincipals$User.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: getstatic sun.nio.fs.UnixUserPrincipals.SPECIAL_EVERYONE:Lsun/nio/fs/UnixUserPrincipals$User;
areturn
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokestatic sun.nio.fs.UnixUserPrincipals.lookupName:(Ljava/lang/String;Z)I
istore 1
start local 1 7: new sun.nio.fs.UnixUserPrincipals$User
dup
iload 1
aload 0
invokespecial sun.nio.fs.UnixUserPrincipals$User.<init>:(ILjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
7 8 1 uid I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
static java.nio.file.attribute.GroupPrincipal lookupGroup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/attribute/GroupPrincipal;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic sun.nio.fs.UnixUserPrincipals.lookupName:(Ljava/lang/String;Z)I
istore 1
start local 1 1: new sun.nio.fs.UnixUserPrincipals$Group
dup
iload 1
aload 0
invokespecial sun.nio.fs.UnixUserPrincipals$Group.<init>:(ILjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 group Ljava/lang/String;
1 2 1 gid I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
group
}
SourceFile: "UnixUserPrincipals.java"
NestMembers:
sun.nio.fs.UnixUserPrincipals$Group sun.nio.fs.UnixUserPrincipals$User
InnerClasses:
Group = sun.nio.fs.UnixUserPrincipals$Group of sun.nio.fs.UnixUserPrincipals
User = sun.nio.fs.UnixUserPrincipals$User of sun.nio.fs.UnixUserPrincipals