class sun.nio.fs.WindowsUserPrincipals
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.WindowsUserPrincipals
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/nio/fs/WindowsUserPrincipals;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.fs.WindowsUserPrincipals.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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 Lsun/nio/fs/WindowsUserPrincipals;
static java.nio.file.attribute.UserPrincipal fromSid(long);
descriptor: (J)Ljava/nio/file/attribute/UserPrincipal;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: lload 0
invokestatic sun.nio.fs.WindowsNativeDispatcher.ConvertSidToStringSid:(J)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 7
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 2 3: StackMap locals:
StackMap stack: sun.nio.fs.WindowsException
astore 3
start local 3 4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to convert SID to String: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 3
invokevirtual sun.nio.fs.WindowsException.errorString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 start local 2 7: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 3
start local 3 8: lload 0
invokestatic sun.nio.fs.WindowsNativeDispatcher.LookupAccountSid:(J)Lsun/nio/fs/WindowsNativeDispatcher$Account;
astore 3
9: new java.lang.StringBuilder
dup
aload 3
invokevirtual sun.nio.fs.WindowsNativeDispatcher$Account.domain:()Ljava/lang/String;
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 3
invokevirtual sun.nio.fs.WindowsNativeDispatcher$Account.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 10: goto 13
end local 4 StackMap locals: long java.lang.String sun.nio.fs.WindowsNativeDispatcher$Account
StackMap stack: sun.nio.fs.WindowsException
11: pop
12: aload 2
astore 4
start local 4 13: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnonnull 14
bipush 8
goto 15
StackMap locals:
StackMap stack:
14: aload 3
invokevirtual sun.nio.fs.WindowsNativeDispatcher$Account.use:()I
StackMap locals:
StackMap stack: int
15: istore 5
start local 5 16: iload 5
iconst_2
if_icmpeq 19
17: iload 5
iconst_5
if_icmpeq 19
18: iload 5
iconst_4
if_icmpne 20
19: StackMap locals: int
StackMap stack:
new sun.nio.fs.WindowsUserPrincipals$Group
dup
aload 2
iload 5
aload 4
invokespecial sun.nio.fs.WindowsUserPrincipals$Group.<init>:(Ljava/lang/String;ILjava/lang/String;)V
areturn
20: StackMap locals:
StackMap stack:
new sun.nio.fs.WindowsUserPrincipals$User
dup
aload 2
iload 5
aload 4
invokespecial sun.nio.fs.WindowsUserPrincipals$User.<init>:(Ljava/lang/String;ILjava/lang/String;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 sidAddress J
1 3 2 sidString Ljava/lang/String;
7 21 2 sidString Ljava/lang/String;
4 7 3 x Lsun/nio/fs/WindowsException;
8 21 3 account Lsun/nio/fs/WindowsNativeDispatcher$Account;
10 11 4 name Ljava/lang/String;
13 21 4 name Ljava/lang/String;
16 21 5 sidType I
Exception table:
from to target type
0 3 3 Class sun.nio.fs.WindowsException
8 10 11 Class sun.nio.fs.WindowsException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sidAddress
static java.nio.file.attribute.UserPrincipal lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
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_0
istore 2
start local 2 4: aload 0
lconst_0
iconst_0
invokestatic sun.nio.fs.WindowsNativeDispatcher.LookupAccountName:(Ljava/lang/String;JI)I
istore 2
5: goto 10
StackMap locals: java.lang.String java.lang.SecurityManager int
StackMap stack: sun.nio.fs.WindowsException
6: astore 3
start local 3 7: aload 3
invokevirtual sun.nio.fs.WindowsException.lastError:()I
sipush 1332
if_icmpne 9
8: new java.nio.file.attribute.UserPrincipalNotFoundException
dup
aload 0
invokespecial java.nio.file.attribute.UserPrincipalNotFoundException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.nio.fs.WindowsException
StackMap stack:
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 3
invokevirtual sun.nio.fs.WindowsException.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 3 10: StackMap locals:
StackMap stack:
getstatic sun.nio.fs.WindowsUserPrincipals.$assertionsDisabled:Z
ifne 11
iload 2
ifgt 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
iload 2
invokestatic sun.nio.fs.NativeBuffers.getNativeBuffer:(I)Lsun/nio/fs/NativeBuffer;
astore 3
start local 3 12: aload 0
aload 3
invokevirtual sun.nio.fs.NativeBuffer.address:()J
iload 2
invokestatic sun.nio.fs.WindowsNativeDispatcher.LookupAccountName:(Ljava/lang/String;JI)I
istore 4
start local 4 13: iload 4
iload 2
if_icmpeq 15
14: new java.lang.AssertionError
dup
ldc "SID change during lookup"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals: sun.nio.fs.NativeBuffer int
StackMap stack:
aload 3
invokevirtual sun.nio.fs.NativeBuffer.address:()J
invokestatic sun.nio.fs.WindowsUserPrincipals.fromSid:(J)Ljava/nio/file/attribute/UserPrincipal;
astore 6
16: aload 3
invokevirtual sun.nio.fs.NativeBuffer.release:()V
17: aload 6
areturn
end local 4 18: StackMap locals: java.lang.String java.lang.SecurityManager int sun.nio.fs.NativeBuffer
StackMap stack: sun.nio.fs.WindowsException
astore 4
start local 4 19: 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.WindowsException.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 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
21: aload 3
invokevirtual sun.nio.fs.NativeBuffer.release:()V
22: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 name Ljava/lang/String;
1 23 1 sm Ljava/lang/SecurityManager;
4 23 2 size I
7 10 3 x Lsun/nio/fs/WindowsException;
12 23 3 sidBuffer Lsun/nio/fs/NativeBuffer;
13 18 4 newSize I
19 20 4 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
4 5 6 Class sun.nio.fs.WindowsException
12 16 18 Class sun.nio.fs.WindowsException
12 16 20 any
18 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
}
SourceFile: "WindowsUserPrincipals.java"
NestMembers:
sun.nio.fs.WindowsUserPrincipals$Group sun.nio.fs.WindowsUserPrincipals$User
InnerClasses:
Account = sun.nio.fs.WindowsNativeDispatcher$Account of sun.nio.fs.WindowsNativeDispatcher
Group = sun.nio.fs.WindowsUserPrincipals$Group of sun.nio.fs.WindowsUserPrincipals
User = sun.nio.fs.WindowsUserPrincipals$User of sun.nio.fs.WindowsUserPrincipals