abstract class sun.nio.fs.UnixFileSystem extends java.nio.file.FileSystem
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.fs.UnixFileSystem
super_class: java.nio.file.FileSystem
{
private final sun.nio.fs.UnixFileSystemProvider provider;
descriptor: Lsun/nio/fs/UnixFileSystemProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] defaultDirectory;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean needToResolveAgainstDefaultDirectory;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.nio.fs.UnixPath rootDirectory;
descriptor: Lsun/nio/fs/UnixPath;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String GLOB_SYNTAX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "glob"
private static final java.lang.String REGEX_SYNTAX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "regex"
void <init>(sun.nio.fs.UnixFileSystemProvider, java.lang.String);
descriptor: (Lsun/nio/fs/UnixFileSystemProvider;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.nio.file.FileSystem.<init>:()V
1: aload 0
aload 1
putfield sun.nio.fs.UnixFileSystem.provider:Lsun/nio/fs/UnixFileSystemProvider;
2: aload 0
aload 2
invokestatic sun.nio.fs.UnixPath.normalizeAndCheck:(Ljava/lang/String;)Ljava/lang/String;
invokestatic sun.nio.fs.Util.toBytes:(Ljava/lang/String;)[B
putfield sun.nio.fs.UnixFileSystem.defaultDirectory:[B
3: aload 0
getfield sun.nio.fs.UnixFileSystem.defaultDirectory:[B
iconst_0
baload
bipush 47
if_icmpeq 5
4: new java.lang.RuntimeException
dup
ldc "default directory must be absolute"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.nio.fs.UnixFileSystem sun.nio.fs.UnixFileSystemProvider java.lang.String
StackMap stack:
ldc "sun.nio.fs.chdirAllowed"
ldc "false"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
6: astore 3
start local 3 7: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
iconst_1
goto 9
StackMap locals: java.lang.String
StackMap stack:
8: aload 3
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals:
StackMap stack: int
9: istore 4
start local 4 10: iload 4
ifeq 13
11: aload 0
iconst_1
putfield sun.nio.fs.UnixFileSystem.needToResolveAgainstDefaultDirectory:Z
12: goto 28
13: StackMap locals: int
StackMap stack:
invokestatic sun.nio.fs.UnixNativeDispatcher.getcwd:()[B
astore 5
start local 5 14: aload 5
arraylength
aload 0
getfield sun.nio.fs.UnixFileSystem.defaultDirectory:[B
arraylength
if_icmpne 15
iconst_1
goto 16
StackMap locals: byte[]
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 6
start local 6 17: iload 6
ifeq 25
18: iconst_0
istore 7
start local 7 19: goto 24
20: StackMap locals: int int
StackMap stack:
aload 5
iload 7
baload
aload 0
getfield sun.nio.fs.UnixFileSystem.defaultDirectory:[B
iload 7
baload
if_icmpeq 23
21: iconst_0
istore 6
22: goto 25
23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
aload 5
arraylength
if_icmplt 20
end local 7 25: StackMap locals:
StackMap stack:
aload 0
iload 6
ifeq 26
iconst_0
goto 27
StackMap locals:
StackMap stack: sun.nio.fs.UnixFileSystem
26: iconst_1
StackMap locals: sun.nio.fs.UnixFileSystem sun.nio.fs.UnixFileSystemProvider java.lang.String java.lang.String int byte[] int
StackMap stack: sun.nio.fs.UnixFileSystem int
27: putfield sun.nio.fs.UnixFileSystem.needToResolveAgainstDefaultDirectory:Z
end local 6 end local 5 28: StackMap locals:
StackMap stack:
aload 0
new sun.nio.fs.UnixPath
dup
aload 0
ldc "/"
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;Ljava/lang/String;)V
putfield sun.nio.fs.UnixFileSystem.rootDirectory:Lsun/nio/fs/UnixPath;
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/nio/fs/UnixFileSystem;
0 30 1 provider Lsun/nio/fs/UnixFileSystemProvider;
0 30 2 dir Ljava/lang/String;
7 30 3 propValue Ljava/lang/String;
10 30 4 chdirAllowed Z
14 28 5 cwd [B
17 28 6 defaultIsCwd Z
19 25 7 i I
MethodParameters:
Name Flags
provider
dir
byte[] defaultDirectory();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixFileSystem.defaultDirectory:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
boolean needToResolveAgainstDefaultDirectory();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixFileSystem.needToResolveAgainstDefaultDirectory:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
sun.nio.fs.UnixPath rootDirectory();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixFileSystem.rootDirectory:Lsun/nio/fs/UnixPath;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
static java.util.List<java.lang.String> standardFileAttributeViews();
descriptor: ()Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "basic"
aastore
dup
iconst_1
ldc "posix"
aastore
dup
iconst_2
ldc "unix"
aastore
dup
iconst_3
ldc "owner"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public final java.nio.file.spi.FileSystemProvider provider();
descriptor: ()Ljava/nio/file/spi/FileSystemProvider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixFileSystem.provider:Lsun/nio/fs/UnixFileSystemProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
public final java.lang.String getSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "/"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
public final boolean isOpen();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
public final boolean isReadOnly();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
Exceptions:
throws java.io.IOException
void copyNonPosixAttributes(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
0 1 1 sfd I
0 1 2 tfd I
MethodParameters:
Name Flags
sfd
tfd
public final java.lang.Iterable<java.nio.file.Path> getRootDirectories();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_1
anewarray java.nio.file.Path
dup
iconst_0
1: aload 0
getfield sun.nio.fs.UnixFileSystem.rootDirectory:Lsun/nio/fs/UnixPath;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
astore 1
start local 1 2: new sun.nio.fs.UnixFileSystem$1
dup
aload 0
aload 1
invokespecial sun.nio.fs.UnixFileSystem$1.<init>:(Lsun/nio/fs/UnixFileSystem;Ljava/util/List;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixFileSystem;
2 3 1 allowedList Ljava/util/List<Ljava/nio/file/Path;>;
Signature: ()Ljava/lang/Iterable<Ljava/nio/file/Path;>;
abstract java.lang.Iterable<sun.nio.fs.UnixMountEntry> getMountEntries();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0400) ACC_ABSTRACT
Signature: ()Ljava/lang/Iterable<Lsun/nio/fs/UnixMountEntry;>;
abstract java.nio.file.FileStore getFileStore(sun.nio.fs.UnixMountEntry);
descriptor: (Lsun/nio/fs/UnixMountEntry;)Ljava/nio/file/FileStore;
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry
public final java.lang.Iterable<java.nio.file.FileStore> getFileStores();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 1
new java.lang.RuntimePermission
dup
ldc "getFileStoreAttributes"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: goto 6
StackMap locals: sun.nio.fs.UnixFileSystem java.lang.SecurityManager
StackMap stack: java.lang.SecurityException
4: pop
5: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
6: StackMap locals:
StackMap stack:
new sun.nio.fs.UnixFileSystem$2
dup
aload 0
invokespecial sun.nio.fs.UnixFileSystem$2.<init>:(Lsun/nio/fs/UnixFileSystem;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/fs/UnixFileSystem;
1 7 1 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
2 3 4 Class java.lang.SecurityException
Signature: ()Ljava/lang/Iterable<Ljava/nio/file/FileStore;>;
public final java.nio.file.Path getPath(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
ifne 3
1: aload 1
astore 3
start local 3 2: goto 14
end local 3 3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 12
StackMap locals: sun.nio.fs.UnixFileSystem java.lang.String java.lang.String[] top java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 11
8: aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 10
9: aload 4
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals: sun.nio.fs.UnixFileSystem java.lang.String java.lang.String[] top java.lang.StringBuilder java.lang.String int int java.lang.String[]
StackMap stack:
aload 4
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 11: StackMap locals: sun.nio.fs.UnixFileSystem java.lang.String java.lang.String[] top java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 7
if_icmplt 6
13: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 4 start local 3 14: StackMap locals: sun.nio.fs.UnixFileSystem java.lang.String java.lang.String[] java.lang.String
StackMap stack:
new sun.nio.fs.UnixPath
dup
aload 0
aload 3
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/fs/UnixFileSystem;
0 15 1 first Ljava/lang/String;
0 15 2 more [Ljava/lang/String;
2 3 3 path Ljava/lang/String;
14 15 3 path Ljava/lang/String;
4 14 4 sb Ljava/lang/StringBuilder;
7 11 5 segment Ljava/lang/String;
MethodParameters:
Name Flags
first
more
public java.nio.file.PathMatcher getPathMatcher(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/PathMatcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 1: iload 2
ifle 2
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpne 3
2: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 5: aload 3
ldc "glob"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 4
invokestatic sun.nio.fs.Globs.toUnixRegexPattern:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: goto 14
end local 5 8: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ldc "regex"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
9: aload 4
astore 5
start local 5 10: goto 14
end local 5 11: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Syntax '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "' not recognized"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
start local 5 14: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 5
invokevirtual sun.nio.fs.UnixFileSystem.compilePathMatchPattern:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 6
start local 6 15: new sun.nio.fs.UnixFileSystem$3
dup
aload 0
aload 6
invokespecial sun.nio.fs.UnixFileSystem$3.<init>:(Lsun/nio/fs/UnixFileSystem;Ljava/util/regex/Pattern;)V
areturn
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 16 0 this Lsun/nio/fs/UnixFileSystem;
0 16 1 syntaxAndInput Ljava/lang/String;
1 16 2 pos I
4 16 3 syntax Ljava/lang/String;
5 16 4 input Ljava/lang/String;
7 8 5 expr Ljava/lang/String;
10 11 5 expr Ljava/lang/String;
14 16 5 expr Ljava/lang/String;
15 16 6 pattern Ljava/util/regex/Pattern;
MethodParameters:
Name Flags
syntaxAndInput
public final java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService();
descriptor: ()Ljava/nio/file/attribute/UserPrincipalLookupService;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.nio.fs.UnixFileSystem$LookupService.instance:Ljava/nio/file/attribute/UserPrincipalLookupService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
java.util.regex.Pattern compilePathMatchPattern(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/regex/Pattern;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
0 1 1 expr Ljava/lang/String;
MethodParameters:
Name Flags
expr
char[] normalizeNativePath(char[]);
descriptor: ([C)[C
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
0 1 1 path [C
MethodParameters:
Name Flags
path
java.lang.String normalizeJavaPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixFileSystem;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
}
SourceFile: "UnixFileSystem.java"
NestMembers:
sun.nio.fs.UnixFileSystem$1 sun.nio.fs.UnixFileSystem$2 sun.nio.fs.UnixFileSystem$3 sun.nio.fs.UnixFileSystem$FileStoreIterator sun.nio.fs.UnixFileSystem$LookupService sun.nio.fs.UnixFileSystem$LookupService$1
InnerClasses:
sun.nio.fs.UnixFileSystem$1
sun.nio.fs.UnixFileSystem$2
sun.nio.fs.UnixFileSystem$3
private FileStoreIterator = sun.nio.fs.UnixFileSystem$FileStoreIterator of sun.nio.fs.UnixFileSystem
private LookupService = sun.nio.fs.UnixFileSystem$LookupService of sun.nio.fs.UnixFileSystem