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: aconst_null
astore 1
start local 1 1: iload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getpwuid:(I)[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
astore 1
2: goto 5
StackMap locals: int java.lang.String
StackMap stack: sun.nio.fs.UnixException
3: pop
4: iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 1
5: StackMap locals:
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 6 0 uid I
1 6 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 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: aconst_null
astore 1
start local 1 1: iload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getgrgid:(I)[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
astore 1
2: goto 5
StackMap locals: int java.lang.String
StackMap stack: sun.nio.fs.UnixException
3: pop
4: iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 1
5: StackMap locals:
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 6 0 gid I
1 6 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 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:
iconst_m1
istore 3
start local 3 4: iload 1
ifeq 5
aload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getgrnam:(Ljava/lang/String;)I
goto 6
StackMap locals: int
StackMap stack:
5: aload 0
invokestatic sun.nio.fs.UnixNativeDispatcher.getpwnam:(Ljava/lang/String;)I
StackMap locals:
StackMap stack: int
6: istore 3
7: goto 10
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
8: astore 4
start local 4 9: 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 10: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpne 15
11: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
12: goto 15
StackMap locals:
StackMap stack: java.lang.NumberFormatException
13: pop
14: new java.nio.file.attribute.UserPrincipalNotFoundException
dup
aload 0
invokespecial java.nio.file.attribute.UserPrincipalNotFoundException.<init>:(Ljava/lang/String;)V
athrow
15: 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 16 0 name Ljava/lang/String;
0 16 1 isGroup Z
1 16 2 sm Ljava/lang/SecurityManager;
4 16 3 id I
9 10 4 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
4 7 8 Class sun.nio.fs.UnixException
11 12 13 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