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: 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
private static int[] getKernelVersion();
descriptor: ()[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: ldc "\\D+"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 0
start local 0 1: aload 0
ldc "os.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Pattern.split:(Ljava/lang/CharSequence;)[Ljava/lang/String;
astore 1
start local 1 2: iconst_3
newarray 10
astore 2
start local 2 3: aload 1
arraylength
aload 2
arraylength
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: java.util.regex.Pattern java.lang.String[] int[] int int
StackMap stack:
aload 2
iload 4
aload 1
iload 4
aaload
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iastore
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 6
end local 4 9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 pattern Ljava/util/regex/Pattern;
2 10 1 matches [Ljava/lang/String;
3 10 2 majorMinorMicro [I
4 10 3 length I
5 9 4 i I
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 30
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;
ldc "nouser_xattr"
invokevirtual sun.nio.fs.UnixMountEntry.hasOption:(Ljava/lang/String;)Z
ifeq 11
10: iconst_0
ireturn
11: 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
ifeq 13
12: iconst_0
ireturn
13: 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 "ext4"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
14: aload 0
getfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
ifne 24
15: invokestatic sun.nio.fs.LinuxFileStore.getKernelVersion:()[I
astore 3
start local 3 16: aload 0
aload 3
iconst_0
iaload
iconst_2
if_icmpgt 21
17: aload 3
iconst_0
iaload
iconst_2
if_icmpne 18
aload 3
iconst_1
iaload
bipush 6
if_icmpgt 21
18: StackMap locals: sun.nio.fs.LinuxFileStore java.lang.Class sun.nio.fs.UnixFileStore$FeatureStatus int[]
StackMap stack: sun.nio.fs.LinuxFileStore
aload 3
iconst_0
iaload
iconst_2
if_icmpne 20
aload 3
iconst_1
iaload
bipush 6
if_icmpne 20
19: aload 3
iconst_2
iaload
bipush 39
if_icmpge 21
StackMap locals:
StackMap stack: sun.nio.fs.LinuxFileStore
20: iconst_0
goto 22
StackMap locals:
StackMap stack: sun.nio.fs.LinuxFileStore
21: iconst_1
22: StackMap locals: sun.nio.fs.LinuxFileStore java.lang.Class sun.nio.fs.UnixFileStore$FeatureStatus int[]
StackMap stack: sun.nio.fs.LinuxFileStore int
putfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
23: aload 0
iconst_1
putfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
end local 3 24: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
ireturn
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
ifne 29
26: 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 27: aload 0
aload 0
aload 3
invokevirtual sun.nio.fs.LinuxFileStore.isExtendedAttributesEnabled:(Lsun/nio/fs/UnixPath;)Z
putfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
28: aload 0
iconst_1
putfield sun.nio.fs.LinuxFileStore.xattrChecked:Z
end local 3 29: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.LinuxFileStore.xattrEnabled:Z
ireturn
end local 2 30: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/nio/file/attribute/PosixFileAttributeView;
if_acmpne 32
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 32
31: iconst_0
ireturn
32: 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 33 0 this Lsun/nio/fs/LinuxFileStore;
0 33 1 type Ljava/lang/Class<+Ljava/nio/file/attribute/FileAttributeView;>;
3 30 2 status Lsun/nio/fs/UnixFileStore$FeatureStatus;
16 24 3 kernelVersion [I
27 29 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