public class jdk.internal.loader.FileURLMapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.loader.FileURLMapper
super_class: java.lang.Object
{
java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0000)
java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.loader.FileURLMapper.url:Ljava/net/URL;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/loader/FileURLMapper;
0 3 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
ifnull 2
1: aload 0
getfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.FileURLMapper.url:Ljava/net/URL;
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
ldc "localhost"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 0
getfield jdk.internal.loader.FileURLMapper.url:Ljava/net/URL;
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
putfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
5: aload 0
aload 0
getfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
invokestatic sun.net.www.ParseUtil.decode:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.FileURLMapper.path:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/loader/FileURLMapper;
3 7 1 host Ljava/lang/String;
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.loader.FileURLMapper.getPath:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
invokevirtual java.io.File.exists:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/FileURLMapper;
1 5 1 s Ljava/lang/String;
4 5 2 f Ljava/io/File;
}
SourceFile: "FileURLMapper.java"