class sun.nio.fs.UnixPath implements java.nio.file.Path
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.UnixPath
super_class: java.lang.Object
{
private static java.lang.ThreadLocal<java.lang.ref.SoftReference<java.nio.charset.CharsetEncoder>> encoder;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Ljava/lang/ref/SoftReference<Ljava/nio/charset/CharsetEncoder;>;>;
private final sun.nio.fs.UnixFileSystem fs;
descriptor: Lsun/nio/fs/UnixFileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] path;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.lang.String stringValue;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private int hash;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile int[] offsets;
descriptor: [I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lsun/nio/fs/UnixPath;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.fs.UnixPath.$assertionsDisabled:Z
3: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
4: putstatic sun.nio.fs.UnixPath.encoder:Ljava/lang/ThreadLocal;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.nio.fs.UnixFileSystem, byte[]);
descriptor: (Lsun/nio/fs/UnixFileSystem;[B)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.nio.fs.UnixPath.fs:Lsun/nio/fs/UnixFileSystem;
2: aload 0
aload 2
putfield sun.nio.fs.UnixPath.path:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
0 4 1 fs Lsun/nio/fs/UnixFileSystem;
0 4 2 path [B
MethodParameters:
Name Flags
fs
path
void <init>(sun.nio.fs.UnixFileSystem, java.lang.String);
descriptor: (Lsun/nio/fs/UnixFileSystem;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
aload 2
invokestatic sun.nio.fs.UnixPath.normalizeAndCheck:(Ljava/lang/String;)Ljava/lang/String;
invokestatic sun.nio.fs.UnixPath.encode:(Lsun/nio/fs/UnixFileSystem;Ljava/lang/String;)[B
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)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/UnixPath;
0 2 1 fs Lsun/nio/fs/UnixFileSystem;
0 2 2 input Ljava/lang/String;
MethodParameters:
Name Flags
fs
input
static java.lang.String normalizeAndCheck(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 47
if_icmpne 7
iload 2
bipush 47
if_icmpne 7
6: aload 0
iload 1
iload 3
iconst_1
isub
invokestatic sun.nio.fs.UnixPath.normalize:(Ljava/lang/String;II)Ljava/lang/String;
areturn
7: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokestatic sun.nio.fs.UnixPath.checkNotNul:(Ljava/lang/String;C)V
8: iload 4
istore 2
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 1
if_icmplt 4
end local 3 11: iload 2
bipush 47
if_icmpne 13
12: aload 0
iload 1
iload 1
iconst_1
isub
invokestatic sun.nio.fs.UnixPath.normalize:(Ljava/lang/String;II)Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 input Ljava/lang/String;
1 14 1 n I
2 14 2 prevChar C
3 11 3 i I
5 9 4 c C
MethodParameters:
Name Flags
input
private static void checkNotNul(java.lang.String, char);
descriptor: (Ljava/lang/String;C)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: new java.nio.file.InvalidPathException
dup
aload 0
ldc "Nul character not allowed"
invokespecial java.nio.file.InvalidPathException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 input Ljava/lang/String;
0 3 1 c C
MethodParameters:
Name Flags
input
c
private static java.lang.String normalize(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 3: goto 5
StackMap locals: int
StackMap stack:
4: iinc 3 -1
StackMap locals:
StackMap stack:
5: iload 3
ifle 6
aload 0
iload 3
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 4
6: StackMap locals:
StackMap stack:
iload 3
ifne 8
7: ldc "/"
areturn
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 9: iload 2
ifle 11
10: aload 4
aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals: java.lang.StringBuilder
StackMap stack:
iconst_0
istore 5
start local 5 12: iload 2
istore 6
start local 6 13: goto 21
14: StackMap locals: int int
StackMap stack:
aload 0
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 15: iload 7
bipush 47
if_icmpne 17
iload 5
bipush 47
if_icmpne 17
16: goto 20
17: StackMap locals: int
StackMap stack:
aload 0
iload 7
invokestatic sun.nio.fs.UnixPath.checkNotNul:(Ljava/lang/String;C)V
18: aload 4
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: iload 7
istore 5
end local 7 20: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
21: iload 6
iload 3
if_icmplt 14
end local 6 22: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 23 0 input Ljava/lang/String;
0 23 1 len I
0 23 2 off I
3 23 3 n I
9 23 4 sb Ljava/lang/StringBuilder;
12 23 5 prevChar C
13 22 6 i I
15 20 7 c C
MethodParameters:
Name Flags
input
len
off
private static byte[] encode(sun.nio.fs.UnixFileSystem, java.lang.String);
descriptor: (Lsun/nio/fs/UnixFileSystem;Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: getstatic sun.nio.fs.UnixPath.encoder:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.nio.charset.CharsetEncoder
goto 3
StackMap locals: java.lang.ref.SoftReference
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.nio.charset.CharsetEncoder
3: astore 3
start local 3 4: aload 3
ifnonnull 10
5: invokestatic sun.nio.fs.Util.jnuEncoding:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
6: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
7: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
8: astore 3
9: getstatic sun.nio.fs.UnixPath.encoder:Ljava/lang/ThreadLocal;
new java.lang.ref.SoftReference
dup
aload 3
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
10: StackMap locals: java.nio.charset.CharsetEncoder
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
invokevirtual sun.nio.fs.UnixFileSystem.normalizeNativePath:([C)[C
astore 4
start local 4 11: aload 4
arraylength
i2d
aload 3
invokevirtual java.nio.charset.CharsetEncoder.maxBytesPerChar:()F
f2d
dmul
d2i
newarray 8
astore 5
start local 5 12: aload 5
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 6
start local 6 13: aload 4
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
astore 7
start local 7 14: aload 3
invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
pop
15: aload 3
aload 7
aload 6
iconst_1
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 8
start local 8 16: aload 8
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifne 19
17: iconst_1
istore 9
start local 9 18: goto 23
end local 9 19: StackMap locals: sun.nio.fs.UnixFileSystem java.lang.String java.lang.ref.SoftReference java.nio.charset.CharsetEncoder char[] byte[] java.nio.ByteBuffer java.nio.CharBuffer java.nio.charset.CoderResult
StackMap stack:
aload 3
aload 6
invokevirtual java.nio.charset.CharsetEncoder.flush:(Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
astore 8
20: aload 8
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 21
iconst_0
goto 22
StackMap locals:
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 9
start local 9 23: StackMap locals: int
StackMap stack:
iload 9
ifeq 27
24: new java.nio.file.InvalidPathException
dup
aload 1
25: ldc "Malformed input or input contains unmappable characters"
26: invokespecial java.nio.file.InvalidPathException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.ByteBuffer.position:()I
istore 10
start local 10 28: iload 10
aload 5
arraylength
if_icmpeq 30
29: aload 5
iload 10
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 5
30: StackMap locals: int
StackMap stack:
aload 5
areturn
end local 10 end local 9 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 31 0 fs Lsun/nio/fs/UnixFileSystem;
0 31 1 input Ljava/lang/String;
1 31 2 ref Ljava/lang/ref/SoftReference<Ljava/nio/charset/CharsetEncoder;>;
4 31 3 ce Ljava/nio/charset/CharsetEncoder;
11 31 4 ca [C
12 31 5 ba [B
13 31 6 bb Ljava/nio/ByteBuffer;
14 31 7 cb Ljava/nio/CharBuffer;
16 31 8 cr Ljava/nio/charset/CoderResult;
18 19 9 error Z
23 31 9 error Z
28 31 10 len I
MethodParameters:
Name Flags
fs
input
byte[] asByteArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.path:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
byte[] getByteArrayForSysCalls();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.needToResolveAgainstDefaultDirectory:()Z
ifeq 2
1: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.defaultDirectory:()[B
aload 0
getfield sun.nio.fs.UnixPath.path:[B
invokestatic sun.nio.fs.UnixPath.resolve:([B[B)[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifne 4
3: aload 0
getfield sun.nio.fs.UnixPath.path:[B
areturn
4: StackMap locals:
StackMap stack:
iconst_1
newarray 8
dup
iconst_0
bipush 46
bastore
astore 1
start local 1 5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/fs/UnixPath;
5 6 1 here [B
java.lang.String getPathForExceptionMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
java.lang.String getPathForPermissionCheck();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.needToResolveAgainstDefaultDirectory:()Z
ifeq 2
1: aload 0
invokevirtual sun.nio.fs.UnixPath.getByteArrayForSysCalls:()[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixPath;
static sun.nio.fs.UnixPath toUnixPath(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof sun.nio.fs.UnixPath
ifne 4
3: new java.nio.file.ProviderMismatchException
dup
invokespecial java.nio.file.ProviderMismatchException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
checkcast sun.nio.fs.UnixPath
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/nio/file/Path;
MethodParameters:
Name Flags
obj
private void initOffsets();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
ifnonnull 33
1: iconst_0
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: aload 0
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifeq 12
4: iconst_1
istore 1
5: goto 13
6: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
iinc 2 1
baload
istore 3
start local 3 7: iload 3
bipush 47
if_icmpeq 12
8: iinc 1 1
9: goto 11
10: StackMap locals: int
StackMap stack:
iinc 2 1
11: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmpge 12
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
baload
bipush 47
if_icmpne 10
end local 3 12: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmplt 6
13: StackMap locals:
StackMap stack:
iload 1
newarray 10
astore 3
start local 3 14: iconst_0
istore 1
15: iconst_0
istore 2
16: goto 25
17: StackMap locals: int[]
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
baload
istore 4
start local 4 18: iload 4
bipush 47
if_icmpne 21
19: iinc 2 1
20: goto 25
21: StackMap locals: int
StackMap stack:
aload 3
iload 1
iinc 1 1
iload 2
iinc 2 1
iastore
22: goto 24
23: StackMap locals:
StackMap stack:
iinc 2 1
24: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmpge 25
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
baload
bipush 47
if_icmpne 23
end local 4 25: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmplt 17
26: aload 0
dup
astore 4
monitorenter
27: aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
ifnonnull 29
28: aload 0
aload 3
putfield sun.nio.fs.UnixPath.offsets:[I
29: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 4
monitorexit
30: goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 4
monitorexit
32: athrow
end local 3 end local 2 end local 1 33: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/nio/fs/UnixPath;
2 33 1 count I
3 33 2 index I
7 12 3 c B
14 33 3 result [I
18 25 4 c B
Exception table:
from to target type
27 30 31 any
31 32 31 any
private boolean isEmpty();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/UnixPath;
private sun.nio.fs.UnixPath emptyPath();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
iconst_0
newarray 8
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
private boolean hasDotOrDotDot();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 9
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual sun.nio.fs.UnixPath.getName:(I)Lsun/nio/fs/UnixPath;
getfield sun.nio.fs.UnixPath.path:[B
astore 3
start local 3 4: aload 3
arraylength
iconst_1
if_icmpne 6
aload 3
iconst_0
baload
bipush 46
if_icmpne 6
5: iconst_1
ireturn
6: StackMap locals: byte[]
StackMap stack:
aload 3
arraylength
iconst_2
if_icmpne 8
aload 3
iconst_0
baload
bipush 46
if_icmpne 8
aload 3
iconst_1
baload
bipush 46
if_icmpne 8
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
iload 1
if_icmplt 3
end local 2 10: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/fs/UnixPath;
1 11 1 n I
2 10 2 i I
4 8 3 bytes [B
public sun.nio.fs.UnixFileSystem getFileSystem();
descriptor: ()Lsun/nio/fs/UnixFileSystem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.fs:Lsun/nio/fs/UnixFileSystem;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
public sun.nio.fs.UnixPath getRoot();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
ifle 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iconst_0
baload
bipush 47
if_icmpne 2
1: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.rootDirectory:()Lsun/nio/fs/UnixPath;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixPath;
public sun.nio.fs.UnixPath getFileName();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.initOffsets:()V
1: aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
istore 1
start local 1 2: iload 1
ifne 4
3: aconst_null
areturn
4: StackMap locals: int
StackMap stack:
iload 1
iconst_1
if_icmpne 6
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
ifle 6
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iconst_0
baload
bipush 47
if_icmpeq 6
5: aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 1
iconst_1
isub
iaload
istore 2
start local 2 7: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
iload 2
isub
istore 3
start local 3 8: iload 3
newarray 8
astore 4
start local 4 9: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 4
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/fs/UnixPath;
2 11 1 count I
7 11 2 lastOffset I
8 11 3 len I
9 11 4 result [B
public sun.nio.fs.UnixPath getParent();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.initOffsets:()V
1: aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
istore 1
start local 1 2: iload 1
ifne 4
3: aconst_null
areturn
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 1
iconst_1
isub
iaload
iconst_1
isub
istore 2
start local 2 5: iload 2
ifgt 7
6: aload 0
invokevirtual sun.nio.fs.UnixPath.getRoot:()Lsun/nio/fs/UnixPath;
areturn
7: StackMap locals: int
StackMap stack:
iload 2
newarray 8
astore 3
start local 3 8: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iconst_0
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 3
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/fs/UnixPath;
2 10 1 count I
5 10 2 len I
8 10 3 result [B
public int getNameCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.initOffsets:()V
1: aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/UnixPath;
public sun.nio.fs.UnixPath getName(int);
descriptor: (I)Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.fs.UnixPath.initOffsets:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
if_icmplt 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 1
iaload
istore 2
start local 2 6: iload 1
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
iconst_1
isub
if_icmpne 9
7: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
iload 2
isub
istore 3
start local 3 8: goto 10
end local 3 9: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 1
iconst_1
iadd
iaload
iload 2
isub
iconst_1
isub
istore 3
start local 3 10: StackMap locals: int
StackMap stack:
iload 3
newarray 8
astore 4
start local 4 11: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 4
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/nio/fs/UnixPath;
0 13 1 index I
6 13 2 begin I
8 9 3 len I
10 13 3 len I
11 13 4 result [B
MethodParameters:
Name Flags
index
public sun.nio.fs.UnixPath subpath(int, int);
descriptor: (II)Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.nio.fs.UnixPath.initOffsets:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
if_icmplt 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
if_icmple 7
6: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 9
8: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 1
iaload
istore 3
start local 3 10: iload 2
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
if_icmpne 13
11: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
iload 3
isub
istore 4
start local 4 12: goto 14
end local 4 13: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 2
iaload
iload 3
isub
iconst_1
isub
istore 4
start local 4 14: StackMap locals: int
StackMap stack:
iload 4
newarray 8
astore 5
start local 5 15: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 3
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 5
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
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 17 0 this Lsun/nio/fs/UnixPath;
0 17 1 beginIndex I
0 17 2 endIndex I
10 17 3 begin I
12 13 4 len I
14 17 4 len I
15 17 5 result [B
MethodParameters:
Name Flags
beginIndex
endIndex
public boolean isAbsolute();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
ifle 1
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iconst_0
baload
bipush 47
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/UnixPath;
private static byte[] resolve(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
arraylength
istore 2
start local 2 1: aload 1
arraylength
istore 3
start local 3 2: iload 3
ifne 4
3: aload 0
areturn
4: StackMap locals: int int
StackMap stack:
iload 2
ifeq 5
aload 1
iconst_0
baload
bipush 47
if_icmpne 6
5: StackMap locals:
StackMap stack:
aload 1
areturn
6: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpne 11
aload 0
iconst_0
baload
bipush 47
if_icmpne 11
7: iload 3
iconst_1
iadd
newarray 8
astore 4
start local 4 8: aload 4
iconst_0
bipush 47
bastore
9: aload 1
iconst_0
aload 4
iconst_1
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: goto 15
end local 4 11: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
iload 3
iadd
newarray 8
astore 4
start local 4 12: aload 0
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 4
aload 0
arraylength
bipush 47
bastore
14: aload 1
iconst_0
aload 4
iload 2
iconst_1
iadd
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: StackMap locals: byte[]
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 base [B
0 16 1 child [B
1 16 2 baseLength I
2 16 3 childLength I
8 11 4 result [B
12 16 4 result [B
MethodParameters:
Name Flags
base
child
public sun.nio.fs.UnixPath resolve(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.nio.fs.UnixPath.toUnixPath:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
getfield sun.nio.fs.UnixPath.path:[B
astore 2
start local 2 1: aload 2
arraylength
ifle 3
aload 2
iconst_0
baload
bipush 47
if_icmpne 3
2: aload 1
checkcast sun.nio.fs.UnixPath
areturn
3: StackMap locals: byte[]
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
aload 2
invokestatic sun.nio.fs.UnixPath.resolve:([B[B)[B
astore 3
start local 3 4: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 3
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/UnixPath;
0 5 1 obj Ljava/nio/file/Path;
1 5 2 other [B
4 5 3 result [B
MethodParameters:
Name Flags
obj
sun.nio.fs.UnixPath resolve(byte[]);
descriptor: ([B)Lsun/nio/fs/UnixPath;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 1
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
invokevirtual sun.nio.fs.UnixPath.resolve:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
0 1 1 other [B
MethodParameters:
Name Flags
other
public sun.nio.fs.UnixPath relativize(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.nio.fs.UnixPath.toUnixPath:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual sun.nio.fs.UnixPath.equals:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
invokevirtual sun.nio.fs.UnixPath.emptyPath:()Lsun/nio/fs/UnixPath;
areturn
3: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
aload 2
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
if_icmpeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "'other' is different type of Path"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifeq 7
6: aload 2
areturn
7: StackMap locals:
StackMap stack:
aload 0
astore 3
start local 3 8: aload 3
invokevirtual sun.nio.fs.UnixPath.hasDotOrDotDot:()Z
ifne 9
aload 2
invokevirtual sun.nio.fs.UnixPath.hasDotOrDotDot:()Z
ifeq 11
9: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 3
invokevirtual sun.nio.fs.UnixPath.normalize:()Lsun/nio/fs/UnixPath;
astore 3
10: aload 2
invokevirtual sun.nio.fs.UnixPath.normalize:()Lsun/nio/fs/UnixPath;
astore 2
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 4
start local 4 12: aload 2
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 5
start local 5 13: iload 4
iload 5
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 14: iconst_0
istore 7
start local 7 15: goto 19
16: StackMap locals: sun.nio.fs.UnixPath java.nio.file.Path sun.nio.fs.UnixPath sun.nio.fs.UnixPath int int int int
StackMap stack:
aload 3
iload 7
invokevirtual sun.nio.fs.UnixPath.getName:(I)Lsun/nio/fs/UnixPath;
aload 2
iload 7
invokevirtual sun.nio.fs.UnixPath.getName:(I)Lsun/nio/fs/UnixPath;
invokevirtual sun.nio.fs.UnixPath.equals:(Ljava/lang/Object;)Z
ifne 18
17: goto 20
18: StackMap locals:
StackMap stack:
iinc 7 1
19: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 16
20: StackMap locals:
StackMap stack:
iload 7
iload 5
if_icmpne 24
21: aload 0
invokevirtual sun.nio.fs.UnixPath.emptyPath:()Lsun/nio/fs/UnixPath;
astore 8
start local 8 22: iconst_1
istore 9
start local 9 23: goto 26
end local 9 end local 8 24: StackMap locals:
StackMap stack:
aload 2
iload 7
iload 5
invokevirtual sun.nio.fs.UnixPath.subpath:(II)Lsun/nio/fs/UnixPath;
astore 8
start local 8 25: aload 8
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
istore 9
start local 9 26: StackMap locals: sun.nio.fs.UnixPath int
StackMap stack:
iload 7
iload 4
if_icmpne 28
27: aload 8
areturn
28: StackMap locals:
StackMap stack:
aload 3
iload 7
iload 4
invokevirtual sun.nio.fs.UnixPath.subpath:(II)Lsun/nio/fs/UnixPath;
astore 10
start local 10 29: aload 10
invokevirtual sun.nio.fs.UnixPath.hasDotOrDotDot:()Z
ifeq 33
30: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to compute relative path from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
31: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 10
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifeq 35
34: aload 8
areturn
35: StackMap locals:
StackMap stack:
aload 10
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 11
start local 11 36: iload 11
ifne 38
37: aload 8
areturn
38: StackMap locals: int
StackMap stack:
iload 11
iconst_3
imul
aload 8
getfield sun.nio.fs.UnixPath.path:[B
arraylength
iadd
istore 12
start local 12 39: iload 9
ifeq 42
40: getstatic sun.nio.fs.UnixPath.$assertionsDisabled:Z
ifne 41
aload 8
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifne 41
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
41: StackMap locals: int
StackMap stack:
iinc 12 -1
42: StackMap locals:
StackMap stack:
iload 12
newarray 8
astore 13
start local 13 43: iconst_0
istore 14
start local 14 44: goto 52
45: StackMap locals: byte[] int
StackMap stack:
aload 13
iload 14
iinc 14 1
bipush 46
bastore
46: aload 13
iload 14
iinc 14 1
bipush 46
bastore
47: iload 9
ifeq 50
48: iload 11
iconst_1
if_icmple 51
aload 13
iload 14
iinc 14 1
bipush 47
bastore
49: goto 51
50: StackMap locals:
StackMap stack:
aload 13
iload 14
iinc 14 1
bipush 47
bastore
51: StackMap locals:
StackMap stack:
iinc 11 -1
52: StackMap locals:
StackMap stack:
iload 11
ifgt 45
53: aload 8
getfield sun.nio.fs.UnixPath.path:[B
iconst_0
aload 13
iload 14
54: aload 8
getfield sun.nio.fs.UnixPath.path:[B
arraylength
55: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
56: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 13
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 57 0 this Lsun/nio/fs/UnixPath;
0 57 1 obj Ljava/nio/file/Path;
1 57 2 child Lsun/nio/fs/UnixPath;
8 57 3 base Lsun/nio/fs/UnixPath;
12 57 4 baseCount I
13 57 5 childCount I
14 57 6 n I
15 57 7 i I
22 24 8 childRemaining Lsun/nio/fs/UnixPath;
25 57 8 childRemaining Lsun/nio/fs/UnixPath;
23 24 9 isChildEmpty Z
26 57 9 isChildEmpty Z
29 57 10 baseRemaining Lsun/nio/fs/UnixPath;
36 57 11 dotdots I
39 57 12 len I
43 57 13 result [B
44 57 14 pos I
MethodParameters:
Name Flags
obj
public sun.nio.fs.UnixPath normalize();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 1
start local 1 1: iload 1
ifeq 2
aload 0
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifeq 3
2: StackMap locals: int
StackMap stack:
aload 0
areturn
3: StackMap locals:
StackMap stack:
iload 1
newarray 4
astore 2
start local 2 4: iload 1
newarray 10
astore 3
start local 3 5: iload 1
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
istore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 24
10: StackMap locals: sun.nio.fs.UnixPath int boolean[] int[] int int int int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 7
iaload
istore 8
start local 8 11: iload 7
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
arraylength
iconst_1
isub
if_icmpne 14
12: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
iload 8
isub
istore 9
start local 9 13: goto 15
end local 9 14: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 7
iconst_1
iadd
iaload
iload 8
isub
iconst_1
isub
istore 9
start local 9 15: StackMap locals: int
StackMap stack:
aload 3
iload 7
iload 9
iastore
16: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 8
baload
bipush 46
if_icmpne 23
17: iload 9
iconst_1
if_icmpne 21
18: aload 2
iload 7
iconst_1
bastore
19: iinc 4 -1
20: goto 23
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 8
iconst_1
iadd
baload
bipush 46
if_icmpne 23
22: iconst_1
istore 5
end local 9 end local 8 23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
iload 1
if_icmplt 10
end local 7 25: iload 5
ifeq 61
26: StackMap locals:
StackMap stack:
iload 4
istore 7
start local 7 27: iconst_m1
istore 8
start local 8 28: iconst_0
istore 9
start local 9 29: goto 58
30: StackMap locals: int int int
StackMap stack:
aload 2
iload 9
baload
ifeq 32
31: goto 57
32: StackMap locals:
StackMap stack:
aload 3
iload 9
iaload
iconst_2
if_icmpeq 35
33: iload 9
istore 8
34: goto 57
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 9
iaload
istore 10
start local 10 36: aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 10
baload
bipush 46
if_icmpne 37
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 10
iconst_1
iadd
baload
bipush 46
if_icmpeq 39
37: StackMap locals: int
StackMap stack:
iload 9
istore 8
38: goto 57
39: StackMap locals:
StackMap stack:
iload 8
iflt 45
40: aload 2
iload 8
iconst_1
bastore
41: aload 2
iload 9
iconst_1
bastore
42: iinc 4 -2
43: iconst_m1
istore 8
44: goto 57
45: StackMap locals:
StackMap stack:
iload 6
ifeq 57
46: iconst_0
istore 11
start local 11 47: iconst_0
istore 12
start local 12 48: goto 53
49: StackMap locals: int int
StackMap stack:
aload 2
iload 12
baload
ifne 52
50: iconst_1
istore 11
51: goto 54
52: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
53: iload 12
iload 9
if_icmplt 49
end local 12 54: StackMap locals:
StackMap stack:
iload 11
ifne 57
55: aload 2
iload 9
iconst_1
bastore
56: iinc 4 -1
end local 11 end local 10 57: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
58: iload 9
iload 1
if_icmplt 30
end local 9 end local 8 59: iload 7
iload 4
60: if_icmpgt 26
end local 7 61: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmpne 63
62: aload 0
areturn
63: StackMap locals:
StackMap stack:
iload 4
ifne 67
64: iload 6
ifeq 65
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.rootDirectory:()Lsun/nio/fs/UnixPath;
goto 66
StackMap locals:
StackMap stack:
65: aload 0
invokevirtual sun.nio.fs.UnixPath.emptyPath:()Lsun/nio/fs/UnixPath;
StackMap locals:
StackMap stack: sun.nio.fs.UnixPath
66: areturn
67: StackMap locals:
StackMap stack:
iload 4
iconst_1
isub
istore 7
start local 7 68: iload 6
ifeq 70
69: iinc 7 1
70: StackMap locals: int
StackMap stack:
iconst_0
istore 8
start local 8 71: goto 75
72: StackMap locals: int
StackMap stack:
aload 2
iload 8
baload
ifne 74
73: iload 7
aload 3
iload 8
iaload
iadd
istore 7
74: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
75: iload 8
iload 1
if_icmplt 72
end local 8 76: iload 7
newarray 8
astore 8
start local 8 77: iconst_0
istore 9
start local 9 78: iload 6
ifeq 80
79: aload 8
iload 9
iinc 9 1
bipush 47
bastore
80: StackMap locals: sun.nio.fs.UnixPath int boolean[] int[] int int int int byte[] int
StackMap stack:
iconst_0
istore 10
start local 10 81: goto 88
82: StackMap locals: int
StackMap stack:
aload 2
iload 10
baload
ifne 87
83: aload 0
getfield sun.nio.fs.UnixPath.path:[B
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 10
iaload
aload 8
iload 9
aload 3
iload 10
iaload
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
84: iload 9
aload 3
iload 10
iaload
iadd
istore 9
85: iinc 4 -1
iload 4
ifle 87
86: aload 8
iload 9
iinc 9 1
bipush 47
bastore
87: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
88: iload 10
iload 1
if_icmplt 82
end local 10 89: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 8
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 9 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 90 0 this Lsun/nio/fs/UnixPath;
1 90 1 count I
4 90 2 ignore [Z
5 90 3 size [I
6 90 4 remaining I
7 90 5 hasDotDot Z
8 90 6 isAbsolute Z
9 25 7 i I
11 23 8 begin I
13 14 9 len I
15 23 9 len I
27 61 7 prevRemaining I
28 59 8 prevName I
29 59 9 i I
36 57 10 begin I
47 57 11 hasPrevious Z
48 54 12 j I
68 90 7 len I
71 76 8 i I
77 90 8 result [B
78 90 9 pos I
81 89 10 i I
public boolean startsWith(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
instanceof sun.nio.fs.UnixPath
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.nio.fs.UnixPath
astore 2
start local 2 3: aload 2
getfield sun.nio.fs.UnixPath.path:[B
arraylength
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmple 5
4: iconst_0
ireturn
5: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 3
start local 3 6: aload 2
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 4
start local 4 7: iload 4
ifne 11
aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifeq 11
8: aload 2
invokevirtual sun.nio.fs.UnixPath.isEmpty:()Z
ifeq 9
iconst_0
goto 10
StackMap locals: int int
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
11: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmple 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpne 16
14: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
aload 2
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmpeq 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 17: goto 23
18: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 5
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
start local 6 19: aload 2
getfield sun.nio.fs.UnixPath.offsets:[I
iload 5
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 7
start local 7 20: aload 6
aload 7
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 22
21: iconst_0
ireturn
end local 7 end local 6 22: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
iload 4
if_icmplt 18
end local 5 24: iconst_0
istore 5
start local 5 25: goto 29
26: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 5
baload
aload 2
getfield sun.nio.fs.UnixPath.path:[B
iload 5
baload
if_icmpeq 28
27: iconst_0
ireturn
28: StackMap locals:
StackMap stack:
iinc 5 1
29: StackMap locals:
StackMap stack:
iload 5
aload 2
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmplt 26
30: iload 5
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmpge 32
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 5
baload
bipush 47
if_icmpeq 32
31: iconst_0
ireturn
32: StackMap locals:
StackMap stack:
iconst_1
ireturn
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/UnixPath;
0 33 1 other Ljava/nio/file/Path;
3 33 2 that Lsun/nio/fs/UnixPath;
6 33 3 thisOffsetCount I
7 33 4 thatOffsetCount I
17 24 5 i I
19 22 6 o1 Ljava/lang/Integer;
20 22 7 o2 Ljava/lang/Integer;
25 33 5 i I
MethodParameters:
Name Flags
other
public boolean endsWith(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
instanceof sun.nio.fs.UnixPath
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.nio.fs.UnixPath
astore 2
start local 2 3: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
istore 3
start local 3 4: aload 2
getfield sun.nio.fs.UnixPath.path:[B
arraylength
istore 4
start local 4 5: iload 4
iload 3
if_icmple 7
6: iconst_0
ireturn
7: StackMap locals: sun.nio.fs.UnixPath int int
StackMap stack:
iload 3
ifle 9
iload 4
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifeq 11
aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 5
start local 5 12: aload 2
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
istore 6
start local 6 13: iload 6
iload 5
if_icmple 15
14: iconst_0
ireturn
15: StackMap locals: int int
StackMap stack:
iload 6
iload 5
if_icmpne 23
16: iload 5
ifne 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
iload 3
istore 7
start local 7 19: aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifeq 21
aload 2
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifne 21
20: iinc 7 -1
21: StackMap locals: int
StackMap stack:
iload 4
iload 7
if_icmpeq 25
22: iconst_0
ireturn
end local 7 23: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifeq 25
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.offsets:[I
iload 5
iload 6
isub
iaload
istore 7
start local 7 26: aload 2
getfield sun.nio.fs.UnixPath.offsets:[I
iconst_0
iaload
istore 8
start local 8 27: iload 4
iload 8
isub
iload 3
iload 7
isub
if_icmpeq 31
28: iconst_0
ireturn
29: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 7
iinc 7 1
baload
aload 2
getfield sun.nio.fs.UnixPath.path:[B
iload 8
iinc 8 1
baload
if_icmpeq 31
30: iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iload 8
iload 4
if_icmplt 29
32: iconst_1
ireturn
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 33 0 this Lsun/nio/fs/UnixPath;
0 33 1 other Ljava/nio/file/Path;
3 33 2 that Lsun/nio/fs/UnixPath;
4 33 3 thisLen I
5 33 4 thatLen I
12 33 5 thisOffsetCount I
13 33 6 thatOffsetCount I
19 23 7 expectedLen I
26 33 7 thisPos I
27 33 8 thatPos I
MethodParameters:
Name Flags
other
public int compareTo(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
istore 2
start local 2 1: aload 1
checkcast sun.nio.fs.UnixPath
getfield sun.nio.fs.UnixPath.path:[B
arraylength
istore 3
start local 3 2: iload 2
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 3: aload 0
getfield sun.nio.fs.UnixPath.path:[B
astore 5
start local 5 4: aload 1
checkcast sun.nio.fs.UnixPath
getfield sun.nio.fs.UnixPath.path:[B
astore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 12
7: StackMap locals: sun.nio.fs.UnixPath java.nio.file.Path int int int byte[] byte[] int
StackMap stack:
aload 5
iload 7
baload
sipush 255
iand
istore 8
start local 8 8: aload 6
iload 7
baload
sipush 255
iand
istore 9
start local 9 9: iload 8
iload 9
if_icmpeq 11
10: iload 8
iload 9
isub
ireturn
11: StackMap locals: int int
StackMap stack:
iinc 7 1
end local 9 end local 8 12: StackMap locals:
StackMap stack:
iload 7
iload 4
if_icmplt 7
13: iload 2
iload 3
isub
ireturn
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 14 0 this Lsun/nio/fs/UnixPath;
0 14 1 other Ljava/nio/file/Path;
1 14 2 len1 I
2 14 3 len2 I
3 14 4 n I
4 14 5 v1 [B
5 14 6 v2 [B
6 14 7 k I
8 12 8 c1 I
9 12 9 c2 I
MethodParameters:
Name Flags
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
aload 1
instanceof sun.nio.fs.UnixPath
ifeq 3
1: aload 0
aload 1
checkcast java.nio.file.Path
invokevirtual sun.nio.fs.UnixPath.compareTo:(Ljava/nio/file/Path;)I
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
0 4 1 ob Ljava/lang/Object;
MethodParameters:
Name Flags
ob
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.hash:I
istore 1
start local 1 1: iload 1
ifne 8
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
bipush 31
iload 1
imul
aload 0
getfield sun.nio.fs.UnixPath.path:[B
iload 2
baload
sipush 255
iand
iadd
istore 1
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield sun.nio.fs.UnixPath.path:[B
arraylength
if_icmplt 4
end local 2 7: aload 0
iload 1
putfield sun.nio.fs.UnixPath.hash:I
8: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/UnixPath;
1 9 1 h I
3 7 2 i I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixPath.stringValue:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
getfield sun.nio.fs.UnixPath.fs:Lsun/nio/fs/UnixFileSystem;
aload 0
getfield sun.nio.fs.UnixPath.path:[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
invokevirtual sun.nio.fs.UnixFileSystem.normalizeJavaPath:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.nio.fs.UnixPath.stringValue:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.stringValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixPath;
int openForAttributeAccess(boolean);
descriptor: (Z)I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iload 1
ifne 3
2: iload 2
ldc 131072
ior
istore 2
3: StackMap locals: int
StackMap stack:
aload 0
iload 2
iconst_0
invokestatic sun.nio.fs.UnixNativeDispatcher.open:(Lsun/nio/fs/UnixPath;II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
0 4 1 followLinks Z
1 4 2 flags I
Exceptions:
throws sun.nio.fs.UnixException
MethodParameters:
Name Flags
followLinks
void checkRead();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, 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 3
2: aload 1
aload 0
invokevirtual sun.nio.fs.UnixPath.getPathForPermissionCheck:()Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
1 4 1 sm Ljava/lang/SecurityManager;
void checkWrite();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, 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 3
2: aload 1
aload 0
invokevirtual sun.nio.fs.UnixPath.getPathForPermissionCheck:()Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
1 4 1 sm Ljava/lang/SecurityManager;
void checkDelete();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, 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 3
2: aload 1
aload 0
invokevirtual sun.nio.fs.UnixPath.getPathForPermissionCheck:()Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkDelete:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/UnixPath;
1 4 1 sm Ljava/lang/SecurityManager;
public sun.nio.fs.UnixPath toAbsolutePath();
descriptor: ()Lsun/nio/fs/UnixPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.UnixPath.isAbsolute:()Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
ldc "user.dir"
invokevirtual java.lang.SecurityManager.checkPropertyAccess:(Ljava/lang/String;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
6: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.defaultDirectory:()[B
aload 0
getfield sun.nio.fs.UnixPath.path:[B
invokestatic sun.nio.fs.UnixPath.resolve:([B[B)[B
7: invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/fs/UnixPath;
3 8 1 sm Ljava/lang/SecurityManager;
public java.nio.file.Path toRealPath(java.nio.file.LinkOption[]);
descriptor: ([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.fs.UnixPath.checkRead:()V
1: aload 0
invokevirtual sun.nio.fs.UnixPath.toAbsolutePath:()Lsun/nio/fs/UnixPath;
astore 2
start local 2 2: aload 1
invokestatic sun.nio.fs.Util.followLinks:([Ljava/nio/file/LinkOption;)Z
ifeq 8
3: aload 2
invokestatic sun.nio.fs.UnixNativeDispatcher.realpath:(Lsun/nio/fs/UnixPath;)[B
astore 3
start local 3 4: new sun.nio.fs.UnixPath
dup
aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
aload 3
invokespecial sun.nio.fs.UnixPath.<init>:(Lsun/nio/fs/UnixFileSystem;[B)V
5: areturn
end local 3 6: StackMap locals: sun.nio.fs.UnixPath java.nio.file.LinkOption[] sun.nio.fs.UnixPath
StackMap stack: sun.nio.fs.UnixException
astore 3
start local 3 7: aload 3
aload 0
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.UnixPath.fs:Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.rootDirectory:()Lsun/nio/fs/UnixPath;
astore 3
start local 3 9: iconst_0
istore 4
start local 4 10: goto 28
11: StackMap locals: sun.nio.fs.UnixPath int
StackMap stack:
aload 2
iload 4
invokevirtual sun.nio.fs.UnixPath.getName:(I)Lsun/nio/fs/UnixPath;
astore 5
start local 5 12: aload 5
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
arraylength
iconst_1
if_icmpne 14
aload 5
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
iconst_0
baload
bipush 46
if_icmpne 14
13: goto 27
14: StackMap locals: sun.nio.fs.UnixPath
StackMap stack:
aload 5
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
arraylength
iconst_2
if_icmpne 26
aload 5
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
iconst_0
baload
bipush 46
if_icmpne 26
15: aload 5
invokevirtual sun.nio.fs.UnixPath.asByteArray:()[B
iconst_1
baload
bipush 46
if_icmpne 26
16: aconst_null
astore 6
start local 6 17: aload 3
iconst_0
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
astore 6
18: goto 21
StackMap locals: sun.nio.fs.UnixPath java.nio.file.LinkOption[] sun.nio.fs.UnixPath sun.nio.fs.UnixPath int sun.nio.fs.UnixPath sun.nio.fs.UnixFileAttributes
StackMap stack: sun.nio.fs.UnixException
19: astore 7
start local 7 20: aload 7
aload 3
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 7 21: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.nio.fs.UnixFileAttributes.isSymbolicLink:()Z
ifne 26
22: aload 3
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
astore 3
23: aload 3
ifnonnull 27
24: aload 0
getfield sun.nio.fs.UnixPath.fs:Lsun/nio/fs/UnixFileSystem;
invokevirtual sun.nio.fs.UnixFileSystem.rootDirectory:()Lsun/nio/fs/UnixPath;
astore 3
25: goto 27
end local 6 26: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual sun.nio.fs.UnixPath.resolve:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
astore 3
end local 5 27: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
28: iload 4
aload 2
invokevirtual sun.nio.fs.UnixPath.getNameCount:()I
if_icmplt 11
end local 4 29: aload 3
iconst_0
invokestatic sun.nio.fs.UnixFileAttributes.get:(Lsun/nio/fs/UnixPath;Z)Lsun/nio/fs/UnixFileAttributes;
pop
30: goto 33
StackMap locals: sun.nio.fs.UnixPath java.nio.file.LinkOption[] sun.nio.fs.UnixPath sun.nio.fs.UnixPath
StackMap stack: sun.nio.fs.UnixException
31: astore 4
start local 4 32: aload 4
aload 3
invokevirtual sun.nio.fs.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;)V
end local 4 33: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/nio/fs/UnixPath;
0 34 1 options [Ljava/nio/file/LinkOption;
2 34 2 absolute Lsun/nio/fs/UnixPath;
4 6 3 rp [B
7 8 3 x Lsun/nio/fs/UnixException;
9 34 3 result Lsun/nio/fs/UnixPath;
10 29 4 i I
12 27 5 element Lsun/nio/fs/UnixPath;
17 26 6 attrs Lsun/nio/fs/UnixFileAttributes;
20 21 7 x Lsun/nio/fs/UnixException;
32 33 4 x Lsun/nio/fs/UnixException;
Exception table:
from to target type
3 5 6 Class sun.nio.fs.UnixException
17 18 19 Class sun.nio.fs.UnixException
29 30 31 Class sun.nio.fs.UnixException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
options
public java.net.URI toUri();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.nio.fs.UnixUriUtils.toUri:(Lsun/nio/fs/UnixPath;)Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixPath;
public java.nio.file.WatchKey register(java.nio.file.WatchService, java.nio.file.WatchEvent$Kind<?>[], java.nio.file.WatchEvent$Modifier[]);
descriptor: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.nio.fs.AbstractWatchService
ifne 4
3: new java.nio.file.ProviderMismatchException
dup
invokespecial java.nio.file.ProviderMismatchException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixPath.checkRead:()V
5: aload 1
checkcast sun.nio.fs.AbstractWatchService
aload 0
aload 2
aload 3
invokevirtual sun.nio.fs.AbstractWatchService.register:(Ljava/nio/file/Path;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/fs/UnixPath;
0 6 1 watcher Ljava/nio/file/WatchService;
0 6 2 events [Ljava/nio/file/WatchEvent$Kind;
0 6 3 modifiers [Ljava/nio/file/WatchEvent$Modifier;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind<*>;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
MethodParameters:
Name Flags
watcher
events
modifiers
public java.nio.file.FileSystem getFileSystem();
descriptor: ()Ljava/nio/file/FileSystem;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileSystem:()Lsun/nio/fs/UnixFileSystem;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path resolve(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.nio.fs.UnixPath.resolve:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.file.Path
invokevirtual sun.nio.fs.UnixPath.compareTo:(Ljava/nio/file/Path;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path getFileName();
descriptor: ()Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.getFileName:()Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path normalize();
descriptor: ()Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.normalize:()Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path subpath(int, int);
descriptor: (II)Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual sun.nio.fs.UnixPath.subpath:(II)Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path relativize(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.nio.fs.UnixPath.relativize:(Ljava/nio/file/Path;)Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path toAbsolutePath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.toAbsolutePath:()Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path getParent();
descriptor: ()Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.getParent:()Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path getName(int);
descriptor: (I)Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual sun.nio.fs.UnixPath.getName:(I)Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.file.Path getRoot();
descriptor: ()Ljava/nio/file/Path;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.UnixPath.getRoot:()Lsun/nio/fs/UnixPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "UnixPath.java"
InnerClasses:
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public abstract Modifier = java.nio.file.WatchEvent$Modifier of java.nio.file.WatchEvent