class sun.nio.fs.WindowsUserDefinedFileAttributeView extends sun.nio.fs.AbstractUserDefinedFileAttributeView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.WindowsUserDefinedFileAttributeView
super_class: sun.nio.fs.AbstractUserDefinedFileAttributeView
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.nio.fs.WindowsPath file;
descriptor: Lsun/nio/fs/WindowsPath;
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.WindowsUserDefinedFileAttributeView.unsafe:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String join(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'name' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 3 1 file Ljava/lang/String;
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
file
name
private java.lang.String join(sun.nio.fs.WindowsPath, java.lang.String);
descriptor: (Lsun/nio/fs/WindowsPath;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.nio.fs.WindowsPath.getPathForWin32Calls:()Ljava/lang/String;
aload 2
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 1 1 file Lsun/nio/fs/WindowsPath;
0 1 2 name Ljava/lang/String;
Exceptions:
throws sun.nio.fs.WindowsException
MethodParameters:
Name Flags
file
name
void <init>(sun.nio.fs.WindowsPath, boolean);
descriptor: (Lsun/nio/fs/WindowsPath;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.AbstractUserDefinedFileAttributeView.<init>:()V
1: aload 0
aload 1
putfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
2: aload 0
iload 2
putfield sun.nio.fs.WindowsUserDefinedFileAttributeView.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/WindowsUserDefinedFileAttributeView;
0 4 1 file Lsun/nio/fs/WindowsPath;
0 4 2 followLinks Z
MethodParameters:
Name Flags
file
followLinks
private java.util.List<java.lang.String> listUsingStreamEnumeration();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForWin32Calls:()Ljava/lang/String;
invokestatic sun.nio.fs.WindowsNativeDispatcher.FindFirstStream:(Ljava/lang/String;)Lsun/nio/fs/WindowsNativeDispatcher$FirstStream;
astore 2
start local 2 2: aload 2
ifnull 20
3: aload 2
invokevirtual sun.nio.fs.WindowsNativeDispatcher$FirstStream.handle:()J
lstore 3
start local 3 4: aload 2
invokevirtual sun.nio.fs.WindowsNativeDispatcher$FirstStream.name:()Ljava/lang/String;
astore 5
start local 5 5: aload 5
ldc "::$DATA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
6: aload 5
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 7: aload 1
aload 6
iconst_1
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 8: goto 11
9: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.util.List sun.nio.fs.WindowsNativeDispatcher$FirstStream long java.lang.String
StackMap stack:
aload 5
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 10: aload 1
aload 6
iconst_1
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 11: StackMap locals:
StackMap stack:
lload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.FindNextStream:(J)Ljava/lang/String;
dup
astore 5
ifnonnull 9
end local 5 12: goto 16
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.util.List sun.nio.fs.WindowsNativeDispatcher$FirstStream long
StackMap stack: java.lang.Throwable
13: astore 7
14: lload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.FindClose:(J)V
15: aload 7
athrow
16: StackMap locals:
StackMap stack:
lload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.FindClose:(J)V
end local 3 end local 2 17: goto 20
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.util.List
StackMap stack: sun.nio.fs.WindowsException
18: astore 2
start local 2 19: aload 2
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Lsun/nio/fs/WindowsPath;)V
end local 2 20: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
1 21 1 list Ljava/util/List<Ljava/lang/String;>;
2 17 2 first Lsun/nio/fs/WindowsNativeDispatcher$FirstStream;
4 17 3 handle J
5 12 5 name Ljava/lang/String;
7 8 6 segs [Ljava/lang/String;
10 11 6 segs [Ljava/lang/String;
19 20 2 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
4 13 13 any
1 17 18 Class sun.nio.fs.WindowsException
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/lang/String;>;
private java.util.List<java.lang.String> listUsingBackupRead();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=18, args_size=1
start local 0 0: ldc -1
lstore 1
start local 1 1: ldc 33554432
istore 3
start local 3 2: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
ifne 4
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getFileSystem:()Lsun/nio/fs/WindowsFileSystem;
invokevirtual sun.nio.fs.WindowsFileSystem.supportsLinks:()Z
ifeq 4
3: iload 3
ldc 2097152
ior
istore 3
4: StackMap locals: long int
StackMap stack:
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForWin32Calls:()Ljava/lang/String;
5: ldc -2147483648
6: iconst_1
7: iconst_3
8: iload 3
9: invokestatic sun.nio.fs.WindowsNativeDispatcher.CreateFile:(Ljava/lang/String;IIII)J
lstore 1
end local 3 10: goto 13
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long
StackMap stack: sun.nio.fs.WindowsException
11: astore 3
start local 3 12: aload 3
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Lsun/nio/fs/WindowsPath;)V
end local 3 13: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 15: sipush 4096
invokestatic sun.nio.fs.NativeBuffers.getNativeBuffer:(I)Lsun/nio/fs/NativeBuffer;
astore 3
16: aload 3
invokevirtual sun.nio.fs.NativeBuffer.address:()J
lstore 5
start local 5 17: lconst_0
lstore 7
start local 7 18: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List long long
StackMap stack:
lload 1
lload 5
19: bipush 20
iconst_0
lload 7
20: invokestatic sun.nio.fs.WindowsNativeDispatcher.BackupRead:(JJIZJ)Lsun/nio/fs/WindowsNativeDispatcher$BackupResult;
astore 9
start local 9 21: aload 9
invokevirtual sun.nio.fs.WindowsNativeDispatcher$BackupResult.context:()J
lstore 7
22: aload 9
invokevirtual sun.nio.fs.WindowsNativeDispatcher$BackupResult.bytesTransferred:()I
ifne 24
23: goto 52
24: StackMap locals: sun.nio.fs.WindowsNativeDispatcher$BackupResult
StackMap stack:
getstatic sun.nio.fs.WindowsUserDefinedFileAttributeView.unsafe:Lsun/misc/Unsafe;
lload 5
lconst_0
ladd
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 10
start local 10 25: getstatic sun.nio.fs.WindowsUserDefinedFileAttributeView.unsafe:Lsun/misc/Unsafe;
lload 5
ldc 8
ladd
invokevirtual sun.misc.Unsafe.getLong:(J)J
lstore 11
start local 11 26: getstatic sun.nio.fs.WindowsUserDefinedFileAttributeView.unsafe:Lsun/misc/Unsafe;
lload 5
ldc 16
ladd
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 13
start local 13 27: iload 13
ifle 31
28: lload 1
lload 5
iload 13
iconst_0
lload 7
invokestatic sun.nio.fs.WindowsNativeDispatcher.BackupRead:(JJIZJ)Lsun/nio/fs/WindowsNativeDispatcher$BackupResult;
astore 9
29: aload 9
invokevirtual sun.nio.fs.WindowsNativeDispatcher$BackupResult.bytesTransferred:()I
iload 13
if_icmpeq 31
30: goto 52
31: StackMap locals: int long int
StackMap stack:
iload 10
iconst_4
if_icmpne 39
32: iload 13
iconst_2
idiv
newarray 5
astore 14
start local 14 33: getstatic sun.nio.fs.WindowsUserDefinedFileAttributeView.unsafe:Lsun/misc/Unsafe;
aconst_null
lload 5
aload 14
34: getstatic sun.misc.Unsafe.ARRAY_CHAR_BASE_OFFSET:I
i2l
iload 13
i2l
35: invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
36: new java.lang.String
dup
aload 14
invokespecial java.lang.String.<init>:([C)V
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 15
start local 15 37: aload 15
arraylength
iconst_3
if_icmpne 39
38: aload 4
aload 15
iconst_1
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 14 39: StackMap locals:
StackMap stack:
iload 10
bipush 9
if_icmpne 41
40: new java.io.IOException
dup
ldc "Spare blocks not handled"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals:
StackMap stack:
lload 11
lconst_0
lcmp
ifle 18
42: lload 1
lload 11
lload 7
invokestatic sun.nio.fs.WindowsNativeDispatcher.BackupSeek:(JJJ)V
end local 13 end local 11 end local 10 end local 9 43: goto 18
44: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List long long
StackMap stack: sun.nio.fs.WindowsException
astore 9
start local 9 45: new java.io.IOException
dup
aload 9
invokevirtual sun.nio.fs.WindowsException.errorString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 9 46: StackMap locals:
StackMap stack: java.lang.Throwable
astore 16
47: lload 7
lconst_0
lcmp
ifeq 51
48: lload 1
lconst_0
iconst_0
iconst_1
lload 7
invokestatic sun.nio.fs.WindowsNativeDispatcher.BackupRead:(JJIZJ)Lsun/nio/fs/WindowsNativeDispatcher$BackupResult;
pop
49: goto 51
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List long long top top top top top top top java.lang.Throwable
StackMap stack: sun.nio.fs.WindowsException
50: pop
51: StackMap locals:
StackMap stack:
aload 16
athrow
52: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List long long
StackMap stack:
lload 7
lconst_0
lcmp
ifeq 62
53: lload 1
lconst_0
iconst_0
iconst_1
lload 7
invokestatic sun.nio.fs.WindowsNativeDispatcher.BackupRead:(JJIZJ)Lsun/nio/fs/WindowsNativeDispatcher$BackupResult;
pop
54: goto 62
StackMap locals:
StackMap stack: sun.nio.fs.WindowsException
55: pop
end local 7 end local 5 56: goto 62
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List
StackMap stack: java.lang.Throwable
57: astore 17
58: aload 3
ifnull 60
59: aload 3
invokevirtual sun.nio.fs.NativeBuffer.release:()V
60: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
lload 1
invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
61: aload 17
athrow
62: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView long sun.nio.fs.NativeBuffer java.util.List
StackMap stack:
aload 3
ifnull 64
63: aload 3
invokevirtual sun.nio.fs.NativeBuffer.release:()V
64: StackMap locals:
StackMap stack:
lload 1
invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
65: aload 4
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 66 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
1 66 1 handle J
2 10 3 flags I
12 13 3 x Lsun/nio/fs/WindowsException;
14 66 3 buffer Lsun/nio/fs/NativeBuffer;
15 66 4 list Ljava/util/List<Ljava/lang/String;>;
17 56 5 address J
18 56 7 context J
21 43 9 result Lsun/nio/fs/WindowsNativeDispatcher$BackupResult;
25 43 10 streamId I
26 43 11 streamSize J
27 43 13 nameSize I
33 39 14 nameAsArray [C
37 39 15 segs [Ljava/lang/String;
45 46 9 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
1 10 11 Class sun.nio.fs.WindowsException
18 44 44 Class sun.nio.fs.WindowsException
18 46 46 any
48 49 50 Class sun.nio.fs.WindowsException
53 54 55 Class sun.nio.fs.WindowsException
15 57 57 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> list();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
iconst_1
iconst_0
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.checkAccess:(Ljava/lang/String;ZZ)V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getFileSystem:()Lsun/nio/fs/WindowsFileSystem;
invokevirtual sun.nio.fs.WindowsFileSystem.supportsStreamEnumeration:()Z
ifeq 4
3: aload 0
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.listUsingStreamEnumeration:()Ljava/util/List;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.listUsingBackupRead:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public int size(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
iconst_1
iconst_0
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.checkAccess:(Ljava/lang/String;ZZ)V
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 4: aload 3
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
ifne 7
6: aload 3
getstatic sun.nio.fs.WindowsChannelFactory.OPEN_REPARSE_POINT:Ljava/nio/file/OpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals: java.nio.channels.FileChannel java.util.Set
StackMap stack:
aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Lsun/nio/fs/WindowsPath;Ljava/lang/String;)Ljava/lang/String;
aconst_null
aload 3
lconst_0
invokestatic sun.nio.fs.WindowsChannelFactory.newFileChannel:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;J)Ljava/nio/channels/FileChannel;
8: astore 2
end local 3 9: goto 12
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.channels.FileChannel
StackMap stack: sun.nio.fs.WindowsException
10: astore 3
start local 3 11: aload 3
aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Ljava/lang/String;)V
end local 3 12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.channels.FileChannel.size:()J
lstore 3
start local 3 13: lload 3
ldc 2147483647
lcmp
ifle 15
14: new java.lang.ArithmeticException
dup
ldc "Stream too large"
invokespecial java.lang.ArithmeticException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: long
StackMap stack:
lload 3
l2i
istore 6
16: aload 2
invokevirtual java.nio.channels.FileChannel.close:()V
17: iload 6
ireturn
end local 3 18: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.channels.FileChannel
StackMap stack: java.lang.Throwable
astore 5
19: aload 2
invokevirtual java.nio.channels.FileChannel.close:()V
20: aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 21 1 name Ljava/lang/String;
3 21 2 fc Ljava/nio/channels/FileChannel;
4 9 3 opts Ljava/util/Set<Ljava/nio/file/OpenOption;>;
11 12 3 x Lsun/nio/fs/WindowsException;
13 18 3 size J
Exception table:
from to target type
3 9 10 Class sun.nio.fs.WindowsException
12 16 18 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public int read(java.lang.String, java.nio.ByteBuffer);
descriptor: (Ljava/lang/String;Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
iconst_1
iconst_0
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.checkAccess:(Ljava/lang/String;ZZ)V
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 4: aload 4
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
ifne 7
6: aload 4
getstatic sun.nio.fs.WindowsChannelFactory.OPEN_REPARSE_POINT:Ljava/nio/file/OpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals: java.nio.channels.FileChannel java.util.Set
StackMap stack:
aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Lsun/nio/fs/WindowsPath;Ljava/lang/String;)Ljava/lang/String;
aconst_null
aload 4
lconst_0
invokestatic sun.nio.fs.WindowsChannelFactory.newFileChannel:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;J)Ljava/nio/channels/FileChannel;
8: astore 3
end local 4 9: goto 12
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer java.nio.channels.FileChannel
StackMap stack: sun.nio.fs.WindowsException
10: astore 4
start local 4 11: aload 4
aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Ljava/lang/String;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.channels.FileChannel.size:()J
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lcmp
ifle 14
13: new java.io.IOException
dup
ldc "Stream too large"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 15: goto 20
16: StackMap locals: int
StackMap stack:
aload 3
aload 2
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
istore 5
start local 5 17: iload 5
ifge 19
18: goto 21
19: StackMap locals: int
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 20: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 16
21: StackMap locals:
StackMap stack:
iload 4
istore 7
22: aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
23: iload 7
ireturn
end local 4 24: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer java.nio.channels.FileChannel
StackMap stack: java.lang.Throwable
astore 6
25: aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
26: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 27 1 name Ljava/lang/String;
0 27 2 dst Ljava/nio/ByteBuffer;
3 27 3 fc Ljava/nio/channels/FileChannel;
4 9 4 opts Ljava/util/Set<Ljava/nio/file/OpenOption;>;
11 12 4 x Lsun/nio/fs/WindowsException;
15 24 4 total I
17 20 5 n I
Exception table:
from to target type
3 9 10 Class sun.nio.fs.WindowsException
12 22 24 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
dst
public int write(java.lang.String, java.nio.ByteBuffer);
descriptor: (Ljava/lang/String;Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
iconst_0
iconst_1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.checkAccess:(Ljava/lang/String;ZZ)V
2: StackMap locals:
StackMap stack:
ldc -1
lstore 3
start local 3 3: ldc 33554432
istore 5
start local 5 4: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
ifne 6
5: iload 5
ldc 2097152
ior
istore 5
6: StackMap locals: long int
StackMap stack:
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForWin32Calls:()Ljava/lang/String;
7: ldc -2147483648
8: bipush 7
9: iconst_3
10: iload 5
11: invokestatic sun.nio.fs.WindowsNativeDispatcher.CreateFile:(Ljava/lang/String;IIII)J
lstore 3
end local 5 12: goto 15
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer long
StackMap stack: sun.nio.fs.WindowsException
13: astore 5
start local 5 14: aload 5
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Lsun/nio/fs/WindowsPath;)V
end local 5 15: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 16: aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
ifne 18
17: aload 5
getstatic sun.nio.fs.WindowsChannelFactory.OPEN_REPARSE_POINT:Ljava/nio/file/OpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: StackMap locals: java.util.Set
StackMap stack:
aload 5
getstatic java.nio.file.StandardOpenOption.CREATE:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: aload 5
getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
20: aload 5
getstatic java.nio.file.StandardOpenOption.TRUNCATE_EXISTING:Ljava/nio/file/StandardOpenOption;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: aconst_null
astore 6
start local 6 22: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Lsun/nio/fs/WindowsPath;Ljava/lang/String;)Ljava/lang/String;
aconst_null
aload 5
lconst_0
invokestatic sun.nio.fs.WindowsChannelFactory.newFileChannel:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;J)Ljava/nio/channels/FileChannel;
23: astore 6
24: goto 27
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer long java.util.Set java.nio.channels.FileChannel
StackMap stack: sun.nio.fs.WindowsException
25: astore 7
start local 7 26: aload 7
aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Ljava/lang/String;)V
end local 7 27: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 7
start local 7 28: goto 30
29: StackMap locals: int
StackMap stack:
aload 6
aload 2
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
pop
30: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 29
31: iload 7
istore 9
32: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
33: lload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
34: iload 9
ireturn
end local 7 35: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer long java.util.Set java.nio.channels.FileChannel
StackMap stack: java.lang.Throwable
astore 8
36: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
37: aload 8
athrow
end local 6 end local 5 38: StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.nio.ByteBuffer long
StackMap stack: java.lang.Throwable
astore 10
39: lload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.CloseHandle:(J)V
40: aload 10
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 41 1 name Ljava/lang/String;
0 41 2 src Ljava/nio/ByteBuffer;
3 41 3 handle J
4 12 5 flags I
14 15 5 x Lsun/nio/fs/WindowsException;
16 38 5 opts Ljava/util/Set<Ljava/nio/file/OpenOption;>;
22 38 6 named Ljava/nio/channels/FileChannel;
26 27 7 x Lsun/nio/fs/WindowsException;
28 35 7 rem I
Exception table:
from to target type
3 12 13 Class sun.nio.fs.WindowsException
22 24 25 Class sun.nio.fs.WindowsException
27 32 35 any
15 33 38 any
35 38 38 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
src
public void delete(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.getPathForPermissionCheck:()Ljava/lang/String;
iconst_0
iconst_1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.checkAccess:(Ljava/lang/String;ZZ)V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.file:Lsun/nio/fs/WindowsPath;
aload 0
getfield sun.nio.fs.WindowsUserDefinedFileAttributeView.followLinks:Z
invokestatic sun.nio.fs.WindowsLinkSupport.getFinalPath:(Lsun/nio/fs/WindowsPath;Z)Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 2
aload 1
invokevirtual sun.nio.fs.WindowsUserDefinedFileAttributeView.join:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.DeleteFile:(Ljava/lang/String;)V
5: goto 8
StackMap locals: sun.nio.fs.WindowsUserDefinedFileAttributeView java.lang.String java.lang.String java.lang.String
StackMap stack: sun.nio.fs.WindowsException
6: astore 4
start local 4 7: aload 4
aload 3
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Ljava/lang/String;)V
end local 4 8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/WindowsUserDefinedFileAttributeView;
0 9 1 name Ljava/lang/String;
3 9 2 path Ljava/lang/String;
4 9 3 toDelete Ljava/lang/String;
7 8 4 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
4 5 6 Class sun.nio.fs.WindowsException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
}
SourceFile: "WindowsUserDefinedFileAttributeView.java"
InnerClasses:
BackupResult = sun.nio.fs.WindowsNativeDispatcher$BackupResult of sun.nio.fs.WindowsNativeDispatcher
FirstStream = sun.nio.fs.WindowsNativeDispatcher$FirstStream of sun.nio.fs.WindowsNativeDispatcher