class sun.nio.fs.UnixFileAttributeViews$Basic extends sun.nio.fs.AbstractBasicFileAttributeView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.UnixFileAttributeViews$Basic
super_class: sun.nio.fs.AbstractBasicFileAttributeView
{
protected final sun.nio.fs.UnixPath file;
descriptor: Lsun/nio/fs/UnixPath;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean followLinks;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
void <init>(sun.nio.fs.UnixPath, boolean);
descriptor: (Lsun/nio/fs/UnixPath;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.AbstractBasicFileAttributeView.<init>:()V
1: aload 0
aload 1
putfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
2: aload 0
iload 2
putfield sun.nio.fs.UnixFileAttributeViews$Basic.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/UnixFileAttributeViews$Basic;
0 4 1 file Lsun/nio/fs/UnixPath;
0 4 2 followLinks Z
MethodParameters:
Name Flags
file
followLinks
public java.nio.file.attribute.BasicFileAttributes readAttributes();
descriptor: ()Ljava/nio/file/attribute/BasicFileAttributes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.checkRead:()V
1: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.followLinks:Z
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
2: astore 1
start local 1 3: aload 1
invokevirtual sun.nio.fs.UnixFileAttributes.asBasicFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
4: areturn
end local 1 5: StackMap locals:
StackMap stack: sun.nio.fs.UnixException
astore 1
start local 1 6: aload 1
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/UnixFileAttributeViews$Basic;
3 5 1 attrs Lsun/nio/fs/UnixFileAttributes;
6 8 1 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
1 4 5 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
public void setTimes(java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime);
descriptor: (Ljava/nio/file/attribute/FileTime;Ljava/nio/file/attribute/FileTime;Ljava/nio/file/attribute/FileTime;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.checkWrite:()V
3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: iconst_m1
istore 7
start local 7 7: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.followLinks:Z
ifne 13
8: invokestatic sun.nio.fs.UnixNativeDispatcher.lutimesSupported:()Z
ifeq 11
9: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
iconst_0
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
invokevirtual sun.nio.fs.UnixFileAttributes.isSymbolicLink:()Z
ifeq 11
10: iconst_1
goto 12
StackMap locals: sun.nio.fs.UnixFileAttributeViews$Basic java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime int int int int
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 6
13: StackMap locals:
StackMap stack:
iload 6
ifne 23
14: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.followLinks:Z
invokevirtual sun.nio.fs.UnixPath.openForAttributeAccess:(Z)I
istore 7
15: iload 7
iconst_m1
if_icmpeq 23
16: iconst_1
istore 4
17: invokestatic sun.nio.fs.UnixNativeDispatcher.futimesSupported:()Z
istore 5
18: goto 23
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
19: astore 8
start local 8 20: aload 8
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 6
if_icmpeq 23
21: aload 8
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 40
if_icmpne 22
iload 6
ifne 23
22: StackMap locals: sun.nio.fs.UnixException
StackMap stack:
aload 8
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 8 23: StackMap locals:
StackMap stack:
aload 1
ifnull 24
aload 2
ifnonnull 35
24: StackMap locals:
StackMap stack:
iload 4
ifeq 26
25: iload 7
invokestatic sun.nio.fs.UnixFileAttributes.get:(I)Lsun/nio/fs/UnixFileAttributes;
goto 27
26: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.followLinks:Z
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
27: StackMap locals:
StackMap stack: sun.nio.fs.UnixFileAttributes
astore 8
start local 8 28: aload 1
ifnonnull 30
29: aload 8
invokevirtual sun.nio.fs.UnixFileAttributes.lastModifiedTime:()Ljava/nio/file/attribute/FileTime;
astore 1
30: StackMap locals: sun.nio.fs.UnixFileAttributes
StackMap stack:
aload 2
ifnonnull 35
31: aload 8
invokevirtual sun.nio.fs.UnixFileAttributes.lastAccessTime:()Ljava/nio/file/attribute/FileTime;
astore 2
end local 8 32: goto 35
StackMap locals: sun.nio.fs.UnixFileAttributeViews$Basic java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime int int int int
StackMap stack: sun.nio.fs.UnixException
33: astore 8
start local 8 34: aload 8
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 8 35: StackMap locals:
StackMap stack:
aload 1
getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
lstore 8
start local 8 36: aload 2
getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
lstore 10
start local 10 37: iconst_0
istore 12
start local 12 38: iload 5
ifeq 41
39: iload 7
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.futimes:(IJJ)V
40: goto 52
StackMap locals: long long int
StackMap stack:
41: iload 6
ifeq 44
42: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.lutimes:(Lsun/nio/fs/UnixPath;JJ)V
43: goto 52
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.utimes:(Lsun/nio/fs/UnixPath;JJ)V
45: goto 52
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
46: astore 13
start local 13 47: aload 13
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 22
if_icmpne 51
48: lload 8
lconst_0
lcmp
iflt 49
lload 10
lconst_0
lcmp
ifge 51
49: StackMap locals: sun.nio.fs.UnixException
StackMap stack:
iconst_1
istore 12
50: goto 52
51: StackMap locals:
StackMap stack:
aload 13
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 13 52: StackMap locals:
StackMap stack:
iload 12
ifeq 69
53: lload 8
lconst_0
lcmp
ifge 54
lconst_0
lstore 8
54: StackMap locals:
StackMap stack:
lload 10
lconst_0
lcmp
ifge 55
lconst_0
lstore 10
55: StackMap locals:
StackMap stack:
iload 5
ifeq 58
56: iload 7
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.futimes:(IJJ)V
57: goto 69
StackMap locals:
StackMap stack:
58: iload 6
ifeq 61
59: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.lutimes:(Lsun/nio/fs/UnixPath;JJ)V
60: goto 69
61: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 10
lload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.utimes:(Lsun/nio/fs/UnixPath;JJ)V
62: goto 69
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
63: astore 13
start local 13 64: aload 13
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 13 end local 12 end local 10 end local 8 65: goto 69
StackMap locals: sun.nio.fs.UnixFileAttributeViews$Basic java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime java.nio.file.attribute.FileTime int int int int
StackMap stack: java.lang.Throwable
66: astore 14
67: iload 7
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
68: aload 14
athrow
69: StackMap locals:
StackMap stack:
iload 7
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
70: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lsun/nio/fs/UnixFileAttributeViews$Basic;
0 71 1 lastModifiedTime Ljava/nio/file/attribute/FileTime;
0 71 2 lastAccessTime Ljava/nio/file/attribute/FileTime;
0 71 3 createTime Ljava/nio/file/attribute/FileTime;
4 71 4 haveFd Z
5 71 5 useFutimes Z
6 71 6 useLutimes Z
7 71 7 fd I
20 23 8 x Lsun/nio/fs/UnixException;
28 32 8 attrs Lsun/nio/fs/UnixFileAttributes;
34 35 8 x Lsun/nio/fs/UnixException;
36 65 8 modValue J
37 65 10 accessValue J
38 65 12 retry Z
47 52 13 x Lsun/nio/fs/UnixException;
64 65 13 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
7 18 19 Class sun.nio.fs.UnixException
24 32 33 Class sun.nio.fs.UnixException
38 45 46 Class sun.nio.fs.UnixException
55 62 63 Class sun.nio.fs.UnixException
23 66 66 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
lastModifiedTime
lastAccessTime
createTime
}
SourceFile: "UnixFileAttributeViews.java"
NestHost: sun.nio.fs.UnixFileAttributeViews
InnerClasses:
Basic = sun.nio.fs.UnixFileAttributeViews$Basic of sun.nio.fs.UnixFileAttributeViews