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=17, 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_0
istore 7
start local 7 7: iconst_m1
istore 8
start local 8 8: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.followLinks:Z
ifne 14
9: invokestatic sun.nio.fs.UnixNativeDispatcher.lutimesSupported:()Z
ifeq 12
10: 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 12
11: iconst_1
goto 13
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 int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 7
14: StackMap locals:
StackMap stack:
iload 7
ifne 25
15: 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 8
16: iload 8
iconst_m1
if_icmpeq 25
17: iconst_1
istore 4
18: invokestatic sun.nio.fs.UnixNativeDispatcher.futimensSupported:()Z
dup
istore 6
ifne 25
19: invokestatic sun.nio.fs.UnixNativeDispatcher.futimesSupported:()Z
istore 5
20: goto 25
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
21: astore 9
start local 9 22: aload 9
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 6
if_icmpeq 25
23: aload 9
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 40
if_icmpne 24
iload 7
ifne 25
24: StackMap locals: sun.nio.fs.UnixException
StackMap stack:
aload 9
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 9 25: StackMap locals:
StackMap stack:
aload 1
ifnull 26
aload 2
ifnonnull 37
26: StackMap locals:
StackMap stack:
iload 4
ifeq 28
27: iload 8
invokestatic sun.nio.fs.UnixFileAttributes.get:(I)Lsun/nio/fs/UnixFileAttributes;
goto 29
28: 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;
29: StackMap locals:
StackMap stack: sun.nio.fs.UnixFileAttributes
astore 9
start local 9 30: aload 1
ifnonnull 32
31: aload 9
invokevirtual sun.nio.fs.UnixFileAttributes.lastModifiedTime:()Ljava/nio/file/attribute/FileTime;
astore 1
32: StackMap locals: sun.nio.fs.UnixFileAttributes
StackMap stack:
aload 2
ifnonnull 37
33: aload 9
invokevirtual sun.nio.fs.UnixFileAttributes.lastAccessTime:()Ljava/nio/file/attribute/FileTime;
astore 2
end local 9 34: goto 37
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 int
StackMap stack: sun.nio.fs.UnixException
35: astore 9
start local 9 36: aload 9
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 9 37: StackMap locals:
StackMap stack:
iload 6
ifeq 39
38: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
goto 40
StackMap locals:
StackMap stack:
39: getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
40: StackMap locals:
StackMap stack: java.util.concurrent.TimeUnit
astore 9
start local 9 41: aload 1
aload 9
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
lstore 10
start local 10 42: aload 2
aload 9
invokevirtual java.nio.file.attribute.FileTime.to:(Ljava/util/concurrent/TimeUnit;)J
lstore 12
start local 12 43: iconst_0
istore 14
start local 14 44: iload 6
ifeq 47
45: iload 8
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.futimens:(IJJ)V
46: goto 61
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 int java.util.concurrent.TimeUnit long long int
StackMap stack:
47: iload 5
ifeq 50
48: iload 8
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.futimes:(IJJ)V
49: goto 61
StackMap locals:
StackMap stack:
50: iload 7
ifeq 53
51: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.lutimes:(Lsun/nio/fs/UnixPath;JJ)V
52: goto 61
53: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.utimes:(Lsun/nio/fs/UnixPath;JJ)V
54: goto 61
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
55: astore 15
start local 15 56: aload 15
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 22
if_icmpne 60
57: lload 10
lconst_0
lcmp
iflt 58
lload 12
lconst_0
lcmp
ifge 60
58: StackMap locals: sun.nio.fs.UnixException
StackMap stack:
iconst_1
istore 14
59: goto 61
60: StackMap locals:
StackMap stack:
aload 15
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 15 61: StackMap locals:
StackMap stack:
iload 14
ifeq 81
62: lload 10
lconst_0
lcmp
ifge 63
lconst_0
lstore 10
63: StackMap locals:
StackMap stack:
lload 12
lconst_0
lcmp
ifge 64
lconst_0
lstore 12
64: StackMap locals:
StackMap stack:
iload 6
ifeq 67
65: iload 8
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.futimens:(IJJ)V
66: goto 81
StackMap locals:
StackMap stack:
67: iload 5
ifeq 70
68: iload 8
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.futimes:(IJJ)V
69: goto 81
StackMap locals:
StackMap stack:
70: iload 7
ifeq 73
71: aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.lutimes:(Lsun/nio/fs/UnixPath;JJ)V
72: goto 81
73: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixFileAttributeViews$Basic.file:Lsun/nio/fs/UnixPath;
lload 12
lload 10
invokestatic sun.nio.fs.UnixNativeDispatcher.utimes:(Lsun/nio/fs/UnixPath;JJ)V
74: goto 81
StackMap locals:
StackMap stack: sun.nio.fs.UnixException
75: astore 15
start local 15 76: aload 15
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 15 end local 14 end local 12 end local 10 end local 9 77: goto 81
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 int
StackMap stack: java.lang.Throwable
78: astore 16
79: iload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
80: aload 16
athrow
81: StackMap locals:
StackMap stack:
iload 8
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
82: return
end local 8 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 83 0 this Lsun/nio/fs/UnixFileAttributeViews$Basic;
0 83 1 lastModifiedTime Ljava/nio/file/attribute/FileTime;
0 83 2 lastAccessTime Ljava/nio/file/attribute/FileTime;
0 83 3 createTime Ljava/nio/file/attribute/FileTime;
4 83 4 haveFd Z
5 83 5 useFutimes Z
6 83 6 useFutimens Z
7 83 7 useLutimes Z
8 83 8 fd I
22 25 9 x Lsun/nio/fs/UnixException;
30 34 9 attrs Lsun/nio/fs/UnixFileAttributes;
36 37 9 x Lsun/nio/fs/UnixException;
41 77 9 timeUnit Ljava/util/concurrent/TimeUnit;
42 77 10 modValue J
43 77 12 accessValue J
44 77 14 retry Z
56 61 15 x Lsun/nio/fs/UnixException;
76 77 15 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
8 20 21 Class sun.nio.fs.UnixException
26 34 35 Class sun.nio.fs.UnixException
44 54 55 Class sun.nio.fs.UnixException
64 74 75 Class sun.nio.fs.UnixException
25 78 78 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