class jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1 extends java.net.URLConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1
super_class: java.net.URLConnection
{
private java.io.InputStream in;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> fields;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
private java.util.List<java.lang.String> fieldNames;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
final jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler this$2;
descriptor: Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler, java.net.URL);
descriptor: (Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;Ljava/net/URL;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.this$2:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;
aload 0
aload 2
invokespecial java.net.URLConnection.<init>:(Ljava/net/URL;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
0 1 2 $anonymous0 Ljava/net/URL;
MethodParameters:
Name Flags
this$0 final
$anonymous0
public void connect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.connected:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.connected:Z
3: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.this$2:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;
invokestatic jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler.access$0:(Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;)Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.classFiles:Ljava/util/Map;
aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.this$2:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler;
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile
astore 1
start local 1 4: aload 0
new java.io.ByteArrayInputStream
dup
aload 1
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.data:[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.in:Ljava/io/InputStream;
5: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
6: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
ldc "content-length"
aload 1
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.data:[B
arraylength
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: new java.util.Date
dup
aload 1
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.timestamp:J
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.util.Date.toInstant:()Ljava/time/Instant;
astore 2
start local 2 8: aload 2
ldc "GMT"
invokestatic java.time.ZoneId.of:(Ljava/lang/String;)Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.ofInstant:(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
astore 3
start local 3 9: getstatic java.time.format.DateTimeFormatter.RFC_1123_DATE_TIME:Ljava/time/format/DateTimeFormatter;
aload 3
invokevirtual java.time.format.DateTimeFormatter.format:(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;
astore 4
start local 4 10: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
ldc "date"
aload 4
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
ldc "last-modified"
aload 4
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
new java.util.ArrayList
dup
aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fieldNames:Ljava/util/List;
13: return
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 Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
4 14 1 file Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ClassFile;
8 14 2 instant Ljava/time/Instant;
9 14 3 time Ljava/time/ZonedDateTime;
10 14 4 timeStamp Ljava/lang/String;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.connect:()V
1: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.in:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
Exceptions:
throws java.io.IOException
public java.lang.String getHeaderField(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.connect:()V
1: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
aload 1
invokestatic java.util.List.of:()Ljava/util/List;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
2: invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
3: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
4: aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
0 6 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getHeaderFields();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.connect:()V
1: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fields:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public java.lang.String getHeaderFieldKey(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fieldNames:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 1
aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.fieldNames:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
0 3 1 n I
MethodParameters:
Name Flags
n
public java.lang.String getHeaderField(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.getHeaderFieldKey:(I)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 0
aload 2
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1.getHeaderField:(Ljava/lang/String;)Ljava/lang/String;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1;
0 4 1 n I
1 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
n
}
SourceFile: "DefaultLoaderDelegate.java"
EnclosingMethod: jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler.openConnection:(Ljava/net/URL;)Ljava/net/URLConnection;
NestHost: jdk.jshell.execution.DefaultLoaderDelegate
InnerClasses:
private RemoteClassLoader = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader of jdk.jshell.execution.DefaultLoaderDelegate
private ClassFile = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile of jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
private ResourceURLStreamHandler = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler of jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1