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=7, 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 2
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
astore 3
start local 3 8: goto 18
9: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aconst_null
astore 4
start local 4 10: aload 3
iconst_1
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
astore 4
11: goto 14
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes
StackMap stack: sun.nio.fs.UnixException
12: astore 5
start local 5 13: aload 5
aload 3
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 5 14: StackMap locals:
StackMap stack:
aload 4
invokevirtual sun.nio.fs.UnixFileAttributes.dev:()J
aload 0
invokevirtual sun.nio.fs.LinuxFileStore.dev:()J
lcmp
ifeq 16
15: goto 19
16: StackMap locals:
StackMap stack:
aload 3
astore 2
17: aload 3
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
astore 3
end local 4 18: StackMap locals:
StackMap stack:
aload 3
ifnonnull 9
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
astore 4
start local 4 20: aload 1
ldc "/proc/mounts"
invokevirtual sun.nio.fs.LinuxFileSystem.getMountEntries:(Ljava/lang/String;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.LinuxFileSystem sun.nio.fs.UnixPath sun.nio.fs.UnixPath byte[] top java.util.Iterator
StackMap stack:
21: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.nio.fs.UnixMountEntry
astore 5
start local 5 22: aload 4
aload 5
invokevirtual sun.nio.fs.UnixMountEntry.dir:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 24
23: aload 5
areturn
end local 5 24: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
25: new java.io.IOException
dup
ldc "Mount point not found"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/nio/fs/LinuxFileStore;
1 26 1 fs Lsun/nio/fs/LinuxFileSystem;
2 26 2 path Lsun/nio/fs/UnixPath;
3 4 3 rp [B
6 7 3 x Lsun/nio/fs/UnixException;
8 26 3 parent Lsun/nio/fs/UnixPath;
10 18 4 attrs Lsun/nio/fs/UnixFileAttributes;
13 14 5 x Lsun/nio/fs/UnixException;
20 26 4 dir [B
22 24 5 entry Lsun/nio/fs/UnixMountEntry;
Exception table:
from to target type
2 4 5 Class sun.nio.fs.UnixException
10 11 12 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: iconst_m1
istore 2
start local 2 1: aload 1
iconst_0
invokevirtual sun.nio.fs.UnixPath.openForAttributeAccess:(Z)I
istore 2
2: ldc "user.java"
invokestatic sun.nio.fs.Util.toBytes:(Ljava/lang/String;)[B
astore 3
start local 3 3: iload 2
aload 3
lconst_0
iconst_0
invokestatic sun.nio.fs.LinuxNativeDispatcher.fgetxattr:(I[BJI)I
pop
4: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
5: iconst_1
ireturn
end local 3 6: StackMap locals: sun.nio.fs.LinuxFileStore sun.nio.fs.UnixPath int
StackMap stack: sun.nio.fs.UnixException
astore 3
start local 3 7: aload 3
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 61
if_icmpne 10
8: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
9: iconst_1
ireturn
end local 3 10: StackMap locals:
StackMap stack:
iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
goto 14
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
12: iload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.close:(I)V
13: aload 4
athrow
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 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 15 2 fd I
3 6 3 name [B
7 10 3 e Lsun/nio/fs/UnixException;
Exception table:
from to target type
1 4 6 Class sun.nio.fs.UnixException
1 4 11 any
6 8 11 any
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