class sun.nio.fs.WindowsSecurity
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.fs.WindowsSecurity
  super_class: java.lang.Object
{
  static final long processTokenWithDuplicateAccess;
    descriptor: J
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final long processTokenWithQueryAccess;
    descriptor: J
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 51
            iconst_2
            invokestatic sun.nio.fs.WindowsSecurity.openProcessToken:(I)J
         1: .line 50
            putstatic sun.nio.fs.WindowsSecurity.processTokenWithDuplicateAccess:J
         2: .line 57
            bipush 8
            invokestatic sun.nio.fs.WindowsSecurity.openProcessToken:(I)J
         3: .line 56
            putstatic sun.nio.fs.WindowsSecurity.processTokenWithQueryAccess:J
         4: .line 57
            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 // sun.nio.fs.WindowsSecurity this
         0: .line 36
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.nio.fs.WindowsSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/fs/WindowsSecurity;

  private static long openProcessToken(int);
    descriptor: (I)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int access
         0: .line 41
            invokestatic sun.nio.fs.WindowsNativeDispatcher.GetCurrentProcess:()J
            iload 0 /* access */
            invokestatic sun.nio.fs.WindowsNativeDispatcher.OpenProcessToken:(JI)J
         1: lreturn
         2: .line 42
      StackMap locals:
      StackMap stack: sun.nio.fs.WindowsException
            pop
         3: .line 43
            lconst_0
            lreturn
        end local 0 // int access
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0  access  I
      Exception table:
        from    to  target  type
           0     1       2  Class sun.nio.fs.WindowsException
    MethodParameters:
        Name  Flags
      access  

  static sun.nio.fs.WindowsSecurity$Privilege enablePrivilege(java.lang.String);
    descriptor: (Ljava/lang/String;)Lsun/nio/fs/WindowsSecurity$Privilege;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=11, args_size=1
        start local 0 // java.lang.String priv
         0: .line 74
            aload 0 /* priv */
            invokestatic sun.nio.fs.WindowsNativeDispatcher.LookupPrivilegeValue:(Ljava/lang/String;)J
            lstore 1 /* pLuid */
        start local 1 // long pLuid
         1: .line 75
            goto 4
        end local 1 // long pLuid
      StackMap locals:
      StackMap stack: sun.nio.fs.WindowsException
         2: astore 3 /* x */
        start local 3 // sun.nio.fs.WindowsException x
         3: .line 77
            new java.lang.AssertionError
            dup
            aload 3 /* x */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 3 // sun.nio.fs.WindowsException x
        start local 1 // long pLuid
         4: .line 80
      StackMap locals: long
      StackMap stack:
            lconst_0
            lstore 3 /* hToken */
        start local 3 // long hToken
         5: .line 81
            iconst_0
            istore 5 /* impersontating */
        start local 5 // boolean impersontating
         6: .line 82
            iconst_0
            istore 6 /* elevated */
        start local 6 // boolean elevated
         7: .line 84
            invokestatic sun.nio.fs.WindowsNativeDispatcher.GetCurrentThread:()J
         8: .line 85
            bipush 32
            iconst_0
         9: .line 84
            invokestatic sun.nio.fs.WindowsNativeDispatcher.OpenThreadToken:(JIZ)J
            lstore 3 /* hToken */
        10: .line 86
            lload 3 /* hToken */
            lconst_0
            lcmp
            ifne 16
            getstatic sun.nio.fs.WindowsSecurity.processTokenWithDuplicateAccess:J
            lconst_0
            lcmp
            ifeq 16
        11: .line 87
            getstatic sun.nio.fs.WindowsSecurity.processTokenWithDuplicateAccess:J
        12: .line 88
            bipush 36
        13: .line 87
            invokestatic sun.nio.fs.WindowsNativeDispatcher.DuplicateTokenEx:(JI)J
            lstore 3 /* hToken */
        14: .line 89
            lconst_0
            lload 3 /* hToken */
            invokestatic sun.nio.fs.WindowsNativeDispatcher.SetThreadToken:(JJ)V
        15: .line 90
            iconst_1
            istore 5 /* impersontating */
        16: .line 93
      StackMap locals: long int int
      StackMap stack:
            lload 3 /* hToken */
            lconst_0
            lcmp
            ifeq 21
        17: .line 94
            lload 3 /* hToken */
            lload 1 /* pLuid */
            iconst_2
            invokestatic sun.nio.fs.WindowsNativeDispatcher.AdjustTokenPrivileges:(JJI)V
        18: .line 95
            iconst_1
            istore 6 /* elevated */
        19: .line 97
            goto 21
      StackMap locals:
      StackMap stack: sun.nio.fs.WindowsException
        20: pop
        21: .line 101
      StackMap locals:
      StackMap stack:
            lload 3 /* hToken */
            lstore 7 /* token */
        start local 7 // long token
        22: .line 102
            iload 5 /* impersontating */
            istore 9 /* stopImpersontating */
        start local 9 // boolean stopImpersontating
        23: .line 103
            iload 6 /* elevated */
            istore 10 /* needToRevert */
        start local 10 // boolean needToRevert
        24: .line 105
            new sun.nio.fs.WindowsSecurity$1
            dup
            lload 7 /* token */
            iload 9 /* stopImpersontating */
            iload 10 /* needToRevert */
            lload 1 /* pLuid */
            invokespecial sun.nio.fs.WindowsSecurity$1.<init>:(JZZJ)V
            areturn
        end local 10 // boolean needToRevert
        end local 9 // boolean stopImpersontating
        end local 7 // long token
        end local 6 // boolean elevated
        end local 5 // boolean impersontating
        end local 3 // long hToken
        end local 1 // long pLuid
        end local 0 // java.lang.String priv
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   25     0                priv  Ljava/lang/String;
            1    2     1               pLuid  J
            4   25     1               pLuid  J
            3    4     3                   x  Lsun/nio/fs/WindowsException;
            5   25     3              hToken  J
            6   25     5      impersontating  Z
            7   25     6            elevated  Z
           22   25     7               token  J
           23   25     9  stopImpersontating  Z
           24   25    10        needToRevert  Z
      Exception table:
        from    to  target  type
           0     1       2  Class sun.nio.fs.WindowsException
           7    19      20  Class sun.nio.fs.WindowsException
    MethodParameters:
      Name  Flags
      priv  

  static boolean checkAccessMask(long, int, int, int, int, int);
    descriptor: (JIIIII)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=12, args_size=6
        start local 0 // long securityInfo
        start local 2 // int accessMask
        start local 3 // int genericRead
        start local 4 // int genericWrite
        start local 5 // int genericExecute
        start local 6 // int genericAll
         0: .line 132
            bipush 8
            istore 7 /* privilegies */
        start local 7 // int privilegies
         1: .line 133
            invokestatic sun.nio.fs.WindowsNativeDispatcher.GetCurrentThread:()J
            iload 7 /* privilegies */
            iconst_0
            invokestatic sun.nio.fs.WindowsNativeDispatcher.OpenThreadToken:(JIZ)J
            lstore 8 /* hToken */
        start local 8 // long hToken
         2: .line 134
            lload 8 /* hToken */
            lconst_0
            lcmp
            ifne 6
            getstatic sun.nio.fs.WindowsSecurity.processTokenWithDuplicateAccess:J
            lconst_0
            lcmp
            ifeq 6
         3: .line 135
            getstatic sun.nio.fs.WindowsSecurity.processTokenWithDuplicateAccess:J
         4: .line 136
            iload 7 /* privilegies */
         5: .line 135
            invokestatic sun.nio.fs.WindowsNativeDispatcher.DuplicateTokenEx:(JI)J
            lstore 8 /* hToken */
         6: .line 138
      StackMap locals: int long
      StackMap stack:
            iconst_0
            istore 10 /* hasRight */
        start local 10 // boolean hasRight
         7: .line 139
            lload 8 /* hToken */
            lconst_0
            lcmp
            ifeq 16
         8: .line 141
            lload 8 /* hToken */
            lload 0 /* securityInfo */
            iload 2 /* accessMask */
         9: .line 142
            iload 3 /* genericRead */
            iload 4 /* genericWrite */
            iload 5 /* genericExecute */
            iload 6 /* genericAll */
        10: .line 141
            invokestatic sun.nio.fs.WindowsNativeDispatcher.AccessCheck:(JJIIIII)Z
            istore 10 /* hasRight */
        11: .line 143
            goto 15
      StackMap locals: long int int int int int int long int
      StackMap stack: java.lang.Throwable
        12: astore 11
        13: .line 144
            lload 8 /* hToken */
            invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
        14: .line 145
            aload 11
            athrow
        15: .line 144
      StackMap locals:
      StackMap stack:
            lload 8 /* hToken */
            invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
        16: .line 147
      StackMap locals:
      StackMap stack:
            iload 10 /* hasRight */
            ireturn
        end local 10 // boolean hasRight
        end local 8 // long hToken
        end local 7 // int privilegies
        end local 6 // int genericAll
        end local 5 // int genericExecute
        end local 4 // int genericWrite
        end local 3 // int genericRead
        end local 2 // int accessMask
        end local 0 // long securityInfo
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   17     0    securityInfo  J
            0   17     2      accessMask  I
            0   17     3     genericRead  I
            0   17     4    genericWrite  I
            0   17     5  genericExecute  I
            0   17     6      genericAll  I
            1   17     7     privilegies  I
            2   17     8          hToken  J
            7   17    10        hasRight  Z
      Exception table:
        from    to  target  type
           8    12      12  any
    Exceptions:
      throws sun.nio.fs.WindowsException
    MethodParameters:
                Name  Flags
      securityInfo    
      accessMask      
      genericRead     
      genericWrite    
      genericExecute  
      genericAll      
}
SourceFile: "WindowsSecurity.java"
NestMembers:
  sun.nio.fs.WindowsSecurity$1  sun.nio.fs.WindowsSecurity$Privilege
InnerClasses:
  sun.nio.fs.WindowsSecurity$1
  abstract Privilege = sun.nio.fs.WindowsSecurity$Privilege of sun.nio.fs.WindowsSecurity