class sun.nio.fs.LinuxFileStore extends sun.nio.fs.UnixFileStore
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.LinuxFileStore
super_class: sun.nio.fs.UnixFileStore
{
private volatile boolean xattrChecked;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean xattrEnabled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(sun.nio.fs.UnixPath);
descriptor: (Lsun/nio/fs/UnixPath;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.nio.fs.UnixFileStore.<init>:(Lsun/nio/fs/UnixPath;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/LinuxFileStore;
0 2 1 file Lsun/nio/fs/UnixPath;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
void <init>(sun.nio.fs.UnixFileSystem, sun.nio.fs.UnixMountEntry);
descriptor: (Lsun/nio/fs/UnixFileSystem;Lsun/nio/fs/UnixMountEntry;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.nio.fs.UnixFileStore.<init>:(Lsun/nio/fs/UnixFileSystem;Lsun/nio/fs/UnixMountEntry;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/LinuxFileStore;
0 2 1 fs Lsun/nio/fs/UnixFileSystem;
0 2 2 entry Lsun/nio/fs/UnixMountEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fs
entry
sun.nio.fs.UnixMountEntry findMountEntry();
descriptor: ()Lsun/nio/fs/UnixMountEntry;
flags: (0x0000)
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.LinuxFileStore.file:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
checkcast sun.nio.fs.LinuxFileSystem
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
invokevirtual sun.nio.fs.LinuxFileStore.file:()Lsun/nio/fs/UnixPath;
invokestatic sun.nio.fs.UnixNativeDispatcher.realpath:(Lsun/nio/fs/UnixPath;)[B
astore 3
start local 3 3: new sun.nio.fs.UnixPath
dup
aload 1
aload 3
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
astore 2
end local 3 4: goto 7
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath
StackMap stack: sun.nio.fs.UnixException
5: astore 3
start local 3 6: aload 3
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.file:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 1
ldc "/proc/mounts"
invokevirtual sun.nio.fs.LinuxFileSystem.getMountEntries:(Ljava/lang/String;)Ljava/util/List;
8: astore 3
start local 3 9: aload 2
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
astore 4
start local 4 10: goto 25
11: StackMap locals: java.util.List sun.nio.fs.UnixPath
StackMap stack:
aconst_null
astore 5
start local 5 12: aload 4
iconst_1
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
astore 5
13: goto 16
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath java.util.List sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes
StackMap stack: sun.nio.fs.UnixException
14: astore 6
start local 6 15: aload 6
aload 4
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 6 16: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.nio.fs.UnixFileAttributes.dev:()J
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.dev:()J
lcmp
ifeq 23
17: aload 2
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
astore 6
start local 6 18: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 22
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath java.util.List sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes byte[] top java.util.Iterator
StackMap stack:
19: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.UnixMountEntry
astore 7
start local 7 20: aload 6
aload 7
invokevirtual sun.nio.fs.UnixMountEntry.dir:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 22
21: aload 7
areturn
end local 7 22: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
end local 6 23: StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath java.util.List sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes
StackMap stack:
aload 4
astore 2
24: aload 4
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
astore 4
end local 5 25: StackMap locals:
StackMap stack:
aload 4
ifnonnull 11
26: aload 2
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
astore 5
start local 5 27: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 31
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath java.util.List sun.nio.fs.UnixPath byte[] top java.util.Iterator
StackMap stack:
28: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.UnixMountEntry
astore 6
start local 6 29: aload 5
aload 6
invokevirtual sun.nio.fs.UnixMountEntry.dir:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 31
30: aload 6
areturn
end local 6 31: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
32: new java.io.IOException
dup
ldc "Mount point not found"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
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 33 0 this Lsun/nio/fs/LinuxFileStore;
1 33 1 fs Lsun/nio/fs/LinuxFileSystem;
2 33 2 path Lsun/nio/fs/UnixPath;
3 4 3 rp [B
6 7 3 x Lsun/nio/fs/UnixException;
9 33 3 procMountsEntries Ljava/util/List<Lsun/nio/fs/UnixMountEntry;>;
10 33 4 parent Lsun/nio/fs/UnixPath;
12 25 5 attrs Lsun/nio/fs/UnixFileAttributes;
15 16 6 x Lsun/nio/fs/UnixException;
18 23 6 dir [B
20 22 7 entry Lsun/nio/fs/UnixMountEntry;
27 33 5 dir [B
29 31 6 entry Lsun/nio/fs/UnixMountEntry;
Exception table:
from to target type
2 4 5 Class sun.nio.fs.UnixException
12 13 14 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
private boolean isExtendedAttributesEnabled(sun.nio.fs.UnixPath);
descriptor: (Lsun/nio/fs/UnixPath;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokevirtual sun.nio.fs.UnixPath.openForAttributeAccess:(Z)I
istore 2
start local 2 1: ldc "user.java"
invokestatic sun.nio.fs.Util.toBytes:(Ljava/lang/String;)[B
astore 3
start local 3 2: iload 2
aload 3
lconst_0
iconst_0
invokestatic sun.nio.fs.LinuxNativeDispatcher.fgetxattr:(I[BJI)I
pop
3: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
4: iconst_1
ireturn
end local 3 5: StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.UnixPath int
StackMap stack: sun.nio.fs.UnixException
astore 3
start local 3 6: aload 3
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 61
if_icmpne 9
7: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
8: iconst_1
ireturn
end local 3 9: StackMap locals:
StackMap stack:
iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
goto 14
10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
11: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
12: aload 4
athrow
end local 2 13: StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.UnixPath
StackMap stack: java.io.IOException
pop
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/fs/LinuxFileStore;
0 15 1 path Lsun/nio/fs/UnixPath;
1 13 2 fd I
2 5 3 name [B
6 9 3 e Lsun/nio/fs/UnixException;
Exception table:
from to target type
1 3 5 Class sun.nio.fs.UnixException
1 3 10 any
5 7 10 any
0 4 13 Class java.io.IOException
5 8 13 Class java.io.IOException
9 13 13 Class java.io.IOException
MethodParameters:
Name Flags
path
public boolean supportsFileAttributeView(java.lang.Class<? extends java.nio.file.attribute.FileAttributeView>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/nio/file/attribute/DosFileAttributeView;
if_acmpeq 2
1: aload 1
ldc Ljava/nio/file/attribute/UserDefinedFileAttributeView;
if_acmpne 16
2: StackMap locals:
StackMap stack:
aload 0
ldc "user_xattr"
invokevirtual sun.nio.fs.LinuxFileStore.checkIfFeaturePresent:(Ljava/lang/String;)Lsun/nio/fs/UnixFileStore$FeatureStatus;
astore 2
start local 2 3: aload 2
getstatic sun.nio.fs.UnixFileStore$FeatureStatus.PRESENT:Lsun/nio/fs/UnixFileStore$FeatureStatus;
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals: sun.nio.fs.UnixFileStore$FeatureStatus
StackMap stack:
aload 2
getstatic sun.nio.fs.UnixFileStore$FeatureStatus.NOT_PRESENT:Lsun/nio/fs/UnixFileStore$FeatureStatus;
if_acmpne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.entry:()Lsun/nio/fs/UnixMountEntry;
ldc "user_xattr"
invokevirtual sun.nio.fs.UnixMountEntry.hasOption:(Ljava/lang/String;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.entry:()Lsun/nio/fs/UnixMountEntry;
invokevirtual sun.nio.fs.UnixMountEntry.fstype:()Ljava/lang/String;
ldc "ext3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.entry:()Lsun/nio/fs/UnixMountEntry;
invokevirtual sun.nio.fs.UnixMountEntry.fstype:()Ljava/lang/String;
ldc "ext4"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
ifne 15
12: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.file:()Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.entry:()Lsun/nio/fs/UnixMountEntry;
invokevirtual sun.nio.fs.UnixMountEntry.dir:()[B
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
astore 3
start local 3 13: aload 0
aload 0
aload 3
invokevirtual sun.nio.fs.LinuxFileStore.isExtendedAttributesEnabled:(Lsun/nio/fs/UnixPath;)Z
putfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
14: aload 0
iconst_1
putfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
end local 3 15: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
ireturn
end local 2 16: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/nio/file/attribute/PosixFileAttributeView;
if_acmpne 18
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.entry:()Lsun/nio/fs/UnixMountEntry;
invokevirtual sun.nio.fs.UnixMountEntry.fstype:()Ljava/lang/String;
ldc "vfat"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.nio.fs.UnixFileStore.supportsFileAttributeView:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/nio/fs/LinuxFileStore;
0 19 1 type Ljava/lang/Class<+Ljava/nio/file/attribute/FileAttributeView;>;
3 16 2 status Lsun/nio/fs/UnixFileStore$FeatureStatus;
13 15 3 dir Lsun/nio/fs/UnixPath;
Signature: (Ljava/lang/Class<+Ljava/nio/file/attribute/FileAttributeView;>;)Z
MethodParameters:
Name Flags
type
public boolean supportsFileAttributeView(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "dos"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
ldc Ljava/nio/file/attribute/DosFileAttributeView;
invokevirtual sun.nio.fs.LinuxFileStore.supportsFileAttributeView:(Ljava/lang/Class;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "user"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
ldc Ljava/nio/file/attribute/UserDefinedFileAttributeView;
invokevirtual sun.nio.fs.LinuxFileStore.supportsFileAttributeView:(Ljava/lang/Class;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.nio.fs.UnixFileStore.supportsFileAttributeView:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/LinuxFileStore;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "LinuxFileStore.java"
InnerClasses:
final FeatureStatus = sun.nio.fs.UnixFileStore$FeatureStatus of sun.nio.fs.UnixFileStore