public final class jdk.incubator.http.internal.common.Utils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.common.Utils
super_class: java.lang.Object
{
public static final int DEFAULT_BUFSIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16384
public static final int BUFSIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.String> ;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.function.Predicate<java.lang.String> ;
descriptor: Ljava/util/function/Predicate;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/function/Predicate<Ljava/lang/String;>;
public static final java.util.function.Predicate<java.lang.String> ;
descriptor: Ljava/util/function/Predicate;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/function/Predicate<Ljava/lang/String;>;
private static final boolean[] tchar;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean[] fieldvchar;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.util.concurrent.CompletableFuture[] EMPTY_CFARRAY;
descriptor: [Ljava/util/concurrent/CompletableFuture;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer EMPTY_BYTEBUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer[] EMPTY_BB_ARRAY;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
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=4, locals=5, args_size=0
0: ldc Ljdk/incubator/http/internal/common/Utils;
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 jdk.incubator.http.internal.common.Utils.$assertionsDisabled:Z
3: ldc "jdk.httpclient.bufsize"
sipush 16384
4: invokestatic jdk.incubator.http.internal.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
putstatic jdk.incubator.http.internal.common.Utils.BUFSIZE:I
5: bipush 15
anewarray java.lang.String
dup
iconst_0
6: ldc "authorization"
aastore
dup
iconst_1
ldc "connection"
aastore
dup
iconst_2
ldc "cookie"
aastore
dup
iconst_3
ldc "content-length"
aastore
dup
iconst_4
7: ldc "date"
aastore
dup
iconst_5
ldc "expect"
aastore
dup
bipush 6
ldc "from"
aastore
dup
bipush 7
ldc "host"
aastore
dup
bipush 8
ldc "origin"
aastore
dup
bipush 9
ldc "proxy-authorization"
aastore
dup
bipush 10
8: ldc "referer"
aastore
dup
bipush 11
ldc "user-agent"
aastore
dup
bipush 12
ldc "upgrade"
aastore
dup
bipush 13
ldc "via"
aastore
dup
bipush 14
ldc "warning"
aastore
9: invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putstatic jdk.incubator.http.internal.common.Utils.DISALLOWED_HEADERS_SET:Ljava/util/Set;
10: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/incubator/http/internal/common/Utils.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
putstatic jdk.incubator.http.internal.common.Utils.ALLOWED_HEADERS:Ljava/util/function/Predicate;
11: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/incubator/http/internal/common/Utils.lambda$1(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
putstatic jdk.incubator.http.internal.common.Utils.ALL_HEADERS:Ljava/util/function/Predicate;
12: sipush 256
newarray 4
putstatic jdk.incubator.http.internal.common.Utils.tchar:[Z
13: sipush 256
newarray 4
putstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
14: ldc "!#$%&'*+-.^_`|~0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
15: invokevirtual java.lang.String.toCharArray:()[C
16: astore 0
start local 0 17: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 21
StackMap locals: char[] top int int char[]
StackMap stack:
18: aload 4
iload 2
caload
istore 1
start local 1 19: getstatic jdk.incubator.http.internal.common.Utils.tchar:[Z
iload 1
iconst_1
bastore
end local 1 20: iinc 2 1
StackMap locals:
StackMap stack:
21: iload 2
iload 3
if_icmplt 18
22: bipush 33
istore 1
start local 1 23: goto 26
24: StackMap locals: char[] int
StackMap stack:
getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
iload 1
iconst_1
bastore
25: iload 1
iconst_1
iadd
i2c
istore 1
StackMap locals:
StackMap stack:
26: iload 1
sipush 255
if_icmplt 24
end local 1 27: getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
bipush 127
iconst_0
bastore
end local 0 28: iconst_0
anewarray java.util.concurrent.CompletableFuture
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_CFARRAY:[Ljava/util/concurrent/CompletableFuture;
29: iconst_0
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
30: iconst_0
anewarray java.nio.ByteBuffer
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BB_ARRAY:[Ljava/nio/ByteBuffer;
return
LocalVariableTable:
Start End Slot Name Signature
17 28 0 allowedTokenChars [C
19 20 1 c C
23 27 1 c C
public static java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.incubator.http.internal.common.Utils.BUFSIZE:I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.IOException getIOException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/io/IOException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.io.IOException
ifeq 2
1: aload 0
checkcast java.io.IOException
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
invokestatic jdk.incubator.http.internal.common.Utils.getIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
areturn
5: StackMap locals: java.lang.Throwable
StackMap stack:
new java.io.IOException
dup
aload 0
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 t Ljava/lang/Throwable;
3 6 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public static java.nio.ByteBuffer getExchangeBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic jdk.incubator.http.internal.common.Utils.getBuffer:()Ljava/nio/ByteBuffer;
astore 0
start local 0 1: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 buf Ljava/nio/ByteBuffer;
static void resumeChannelRead(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
2: aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 2
isub
istore 3
start local 3 3: iload 1
ifle 6
iload 1
iload 3
if_icmpge 6
4: aload 0
iload 2
iload 1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
5: goto 7
6: StackMap locals: int int
StackMap stack:
aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buf Ljava/nio/ByteBuffer;
0 8 1 required I
1 8 2 limit I
3 8 3 capacity I
MethodParameters:
Name Flags
buf
required
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/Utils;
public static java.util.concurrent.ExecutorService innocuousThreadPool();
descriptor: ()Ljava/util/concurrent/ExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic newThread()Ljava/util/concurrent/ThreadFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Runnable;)Ljava/lang/Thread;
jdk/incubator/http/internal/common/Utils.lambda$2(Ljava/lang/Runnable;)Ljava/lang/Thread; (6)
(Ljava/lang/Runnable;)Ljava/lang/Thread;
1: invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isValidName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: iload 2
sipush 255
if_icmpgt 4
getstatic jdk.incubator.http.internal.common.Utils.tchar:[Z
iload 2
baload
ifne 5
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 1 7: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
iconst_0
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 token Ljava/lang/String;
1 7 1 i I
3 5 2 c C
MethodParameters:
Name Flags
token
public static boolean isValidValue(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 18
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
sipush 255
if_icmple 6
5: iconst_0
ireturn
6: StackMap locals: int
StackMap stack:
iload 1
ifeq 12
7: iload 3
bipush 32
if_icmpeq 8
iload 3
bipush 9
if_icmpne 10
8: StackMap locals:
StackMap stack:
iconst_0
istore 1
9: goto 17
StackMap locals:
StackMap stack:
10: getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
iload 3
baload
ifne 17
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iload 3
bipush 32
if_icmpeq 17
iload 3
bipush 9
if_icmpeq 17
13: getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
iload 3
baload
ifeq 16
14: iconst_1
istore 1
15: goto 17
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 17: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
18: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 19: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 token Ljava/lang/String;
1 20 1 accepted Z
2 19 2 i I
4 17 3 c C
MethodParameters:
Name Flags
token
public static java.net.URLPermission getPermission(java.net.URI, java.lang.String, java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/net/URI;Ljava/lang/String;Ljava/util/Map;)Ljava/net/URLPermission;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 1
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 0
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 4
start local 4 3: ldc "CONNECT"
astore 5
start local 5 4: goto 24
end local 5 end local 4 5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 10: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
11: aload 3
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 2
ifnull 23
aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifne 23
13: aload 3
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
astore 6
start local 6 15: iconst_1
istore 7
start local 7 16: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 22
StackMap locals: java.net.URI java.lang.String java.util.Map java.lang.StringBuilder java.lang.String top java.util.Set int top java.util.Iterator
StackMap stack:
17: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 18: iload 7
ifne 20
19: aload 3
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals: java.net.URI java.lang.String java.util.Map java.lang.StringBuilder java.lang.String top java.util.Set int java.lang.String java.util.Iterator
StackMap stack:
aload 3
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: iconst_0
istore 7
end local 8 22: StackMap locals: java.net.URI java.lang.String java.util.Map java.lang.StringBuilder java.lang.String top java.util.Set int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 7 end local 6 23: StackMap locals: java.net.URI java.lang.String java.util.Map java.lang.StringBuilder java.lang.String
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 24: StackMap locals: java.lang.String
StackMap stack:
new java.net.URLPermission
dup
aload 4
aload 5
invokespecial java.net.URLPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)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 25 0 uri Ljava/net/URI;
0 25 1 method Ljava/lang/String;
0 25 2 headers Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 25 3 sb Ljava/lang/StringBuilder;
3 5 4 urlstring Ljava/lang/String;
10 25 4 urlstring Ljava/lang/String;
4 5 5 actionstring Ljava/lang/String;
24 25 5 actionstring Ljava/lang/String;
15 23 6 keys Ljava/util/Set<Ljava/lang/String;>;
16 23 7 first Z
18 22 8 key Ljava/lang/String;
Signature: (Ljava/net/URI;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Ljava/net/URLPermission;
MethodParameters:
Name Flags
uri
method
headers
public static void checkNetPermission(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
new java.net.NetPermission
dup
aload 0
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 1
aload 2
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 target Ljava/lang/String;
1 6 1 sm Ljava/lang/SecurityManager;
4 6 2 np Ljava/net/NetPermission;
MethodParameters:
Name Flags
target
public static int getIntegerNetProperty(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokedynamic run(Ljava/lang/String;I)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/incubator/http/internal/common/Utils.lambda$3(Ljava/lang/String;I)Ljava/lang/Integer; (6)
()Ljava/lang/Integer;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 defaultValue I
MethodParameters:
Name Flags
name
defaultValue
static java.lang.String getNetProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic run(Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/incubator/http/internal/common/Utils.lambda$4(Ljava/lang/String;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static javax.net.ssl.SSLParameters copySSLParameters(javax.net.ssl.SSLParameters);
descriptor: (Ljavax/net/ssl/SSLParameters;)Ljavax/net/ssl/SSLParameters;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new javax.net.ssl.SSLParameters
dup
invokespecial javax.net.ssl.SSLParameters.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getAlgorithmConstraints:()Ljava/security/AlgorithmConstraints;
invokevirtual javax.net.ssl.SSLParameters.setAlgorithmConstraints:(Ljava/security/AlgorithmConstraints;)V
2: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getCipherSuites:()[Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setCipherSuites:([Ljava/lang/String;)V
3: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getEnableRetransmissions:()Z
invokevirtual javax.net.ssl.SSLParameters.setEnableRetransmissions:(Z)V
4: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getMaximumPacketSize:()I
invokevirtual javax.net.ssl.SSLParameters.setMaximumPacketSize:(I)V
5: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getEndpointIdentificationAlgorithm:()Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setEndpointIdentificationAlgorithm:(Ljava/lang/String;)V
6: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getNeedClientAuth:()Z
invokevirtual javax.net.ssl.SSLParameters.setNeedClientAuth:(Z)V
7: aload 0
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
astore 2
start local 2 8: aload 2
ifnull 10
9: aload 1
aload 2
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual javax.net.ssl.SSLParameters.setProtocols:([Ljava/lang/String;)V
10: StackMap locals: javax.net.ssl.SSLParameters java.lang.String[]
StackMap stack:
aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getSNIMatchers:()Ljava/util/Collection;
invokevirtual javax.net.ssl.SSLParameters.setSNIMatchers:(Ljava/util/Collection;)V
11: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getServerNames:()Ljava/util/List;
invokevirtual javax.net.ssl.SSLParameters.setServerNames:(Ljava/util/List;)V
12: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getUseCipherSuitesOrder:()Z
invokevirtual javax.net.ssl.SSLParameters.setUseCipherSuitesOrder:(Z)V
13: aload 1
aload 0
invokevirtual javax.net.ssl.SSLParameters.getWantClientAuth:()Z
invokevirtual javax.net.ssl.SSLParameters.setWantClientAuth:(Z)V
14: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 p Ljavax/net/ssl/SSLParameters;
1 15 1 p1 Ljavax/net/ssl/SSLParameters;
8 15 2 protocols [Ljava/lang/String;
MethodParameters:
Name Flags
p
public static void flipToMark(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
1: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
0 3 1 mark I
MethodParameters:
Name Flags
buffer
mark
public static java.lang.String stackTrace(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: new java.io.PrintStream
dup
aload 1
iconst_1
ldc "US-ASCII"
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;ZLjava/lang/String;)V
astore 3
start local 3 3: aload 0
aload 3
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
4: aload 1
ldc "US-ASCII"
invokevirtual java.io.ByteArrayOutputStream.toString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
end local 3 5: goto 7
StackMap locals: java.lang.Throwable java.io.ByteArrayOutputStream java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
6: pop
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t Ljava/lang/Throwable;
1 8 1 bos Ljava/io/ByteArrayOutputStream;
2 8 2 s Ljava/lang/String;
3 5 3 p Ljava/io/PrintStream;
Exception table:
from to target type
2 5 6 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
t
public static int copy(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 3
start local 3 2: iload 2
iload 3
if_icmple 9
3: iload 2
iload 3
isub
istore 4
start local 4 4: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 5: aload 0
iload 5
iload 4
isub
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
6: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
7: aload 0
iload 5
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
end local 5 end local 4 8: goto 10
9: StackMap locals: int int
StackMap stack:
aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
10: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 src Ljava/nio/ByteBuffer;
0 11 1 dst Ljava/nio/ByteBuffer;
1 11 2 srcLen I
2 11 3 dstLen I
4 8 4 diff I
5 8 5 limit I
MethodParameters:
Name Flags
src
dst
public static int copyUpTo(java.nio.ByteBuffer, java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 1: aload 0
aload 1
iload 3
invokestatic jdk.incubator.http.internal.common.Utils.copy:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
2: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src Ljava/nio/ByteBuffer;
0 3 1 dst Ljava/nio/ByteBuffer;
0 3 2 amount I
1 3 3 toCopy I
MethodParameters:
Name Flags
src
dst
amount
public static void copy(java.nio.ByteBuffer, java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
isub
istore 3
start local 3 1: getstatic jdk.incubator.http.internal.common.Utils.$assertionsDisabled:Z
ifne 2
iload 3
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
iload 3
ifle 8
3: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 4
start local 4 4: aload 0
iload 4
iload 3
isub
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
5: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
6: aload 0
iload 4
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
end local 4 7: goto 9
8: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 src Ljava/nio/ByteBuffer;
0 10 1 dst Ljava/nio/ByteBuffer;
0 10 2 amount I
1 10 3 excess I
4 7 4 srclimit I
MethodParameters:
Name Flags
src
dst
amount
public static java.nio.ByteBuffer copy(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
2: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 src Ljava/nio/ByteBuffer;
1 4 1 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
public static java.lang.String dump(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
public static java.lang.String stringOf(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
source
public static int remaining(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.nio.ByteBuffer[] int top int int java.nio.ByteBuffer[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
istore 1
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bufs [Ljava/nio/ByteBuffer;
1 7 1 remain I
3 4 2 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bufs
public static int remaining(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 3: iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bufs Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 6 1 remain I
3 4 2 buf Ljava/nio/ByteBuffer;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)I
MethodParameters:
Name Flags
bufs
public static int remaining(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: jdk.incubator.http.internal.common.ByteBufferReference[] int top int int jdk.incubator.http.internal.common.ByteBufferReference[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: iload 1
aload 2
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.get:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
istore 1
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 refs [Ljdk/incubator/http/internal/common/ByteBufferReference;
1 7 1 remain I
3 4 2 ref Ljdk/incubator/http/internal/common/ByteBufferReference;
MethodParameters:
Name Flags
refs
static void unflip(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
1: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static void close(java.io.Closeable[]);
descriptor: ([Ljava/io/Closeable;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: java.io.Closeable[] top int int java.io.Closeable[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokeinterface java.io.Closeable.close:()V
3: goto 5
StackMap locals: java.io.Closeable[] java.io.Closeable int int java.io.Closeable[]
StackMap stack: java.io.IOException
4: pop
end local 1 5: StackMap locals: java.io.Closeable[] top int int java.io.Closeable[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 closeables [Ljava/io/Closeable;
2 5 1 c Ljava/io/Closeable;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
closeables
public static void close(java.lang.Throwable, java.io.Closeable[]);
descriptor: (Ljava/lang/Throwable;[Ljava/io/Closeable;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.lang.Throwable java.io.Closeable[] top int int java.io.Closeable[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokestatic jdk.incubator.http.internal.common.ExceptionallyCloseable.close:(Ljava/lang/Throwable;Ljava/io/Closeable;)V
3: goto 5
StackMap locals: java.lang.Throwable java.io.Closeable[] java.io.Closeable int int java.io.Closeable[]
StackMap stack: java.io.IOException
4: pop
end local 2 5: StackMap locals: java.lang.Throwable java.io.Closeable[] top int int java.io.Closeable[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t Ljava/lang/Throwable;
0 8 1 closeables [Ljava/io/Closeable;
2 5 2 c Ljava/io/Closeable;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
t
closeables
public static java.nio.ByteBuffer[] reduce(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 2
iload 2
aload 0
arraylength
if_icmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 2
anewarray java.nio.ByteBuffer
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iload 1
istore 5
start local 5 5: goto 8
6: StackMap locals: java.nio.ByteBuffer[] int int
StackMap stack:
aload 3
iload 4
iinc 4 1
aload 0
iload 5
aaload
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 1
iload 2
iadd
if_icmplt 6
end local 5 9: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 bufs [Ljava/nio/ByteBuffer;
0 10 1 start I
0 10 2 number I
3 10 3 nbufs [Ljava/nio/ByteBuffer;
4 10 4 j I
5 9 5 i I
MethodParameters:
Name Flags
bufs
start
number
static java.lang.String asString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 1
start local 1 1: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
2: new java.lang.String
dup
aload 1
getstatic java.nio.charset.StandardCharsets.US_ASCII:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buf Ljava/nio/ByteBuffer;
1 3 1 b [B
MethodParameters:
Name Flags
buf
public static java.util.concurrent.Executor singleThreadExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokedynamic run(Ljava/util/concurrent/BlockingQueue;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/internal/common/Utils.lambda$5(Ljava/util/concurrent/BlockingQueue;)V (6)
()V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
2: new jdk.incubator.http.internal.common.Utils$1
dup
aload 1
invokespecial jdk.incubator.http.internal.common.Utils$1.<init>:(Ljava/util/concurrent/BlockingQueue;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 parent Ljava/util/concurrent/Executor;
1 3 1 queue Ljava/util/concurrent/BlockingQueue<Ljava/util/Optional<Ljava/lang/Runnable;>;>;
MethodParameters:
Name Flags
parent
private static void executeInline(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Runnable.run:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
static java.util.concurrent.Executor callingThreadExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic execute()Ljava/util/concurrent/Executor;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Runnable;)V
jdk/incubator/http/internal/common/Utils.executeInline(Ljava/lang/Runnable;)V (6)
(Ljava/lang/Runnable;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.nio.ByteBuffer slice(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
iload 1
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buffer Ljava/nio/ByteBuffer;
0 4 1 amount I
1 4 2 newb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
amount
public static java.nio.charset.Charset (jdk.incubator.http.HttpHeaders);
descriptor: (Ljdk/incubator/http/HttpHeaders;)Ljava/nio/charset/Charset;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "Content-encoding"
invokeinterface jdk.incubator.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
1: ldc "UTF_8"
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
2: astore 1
start local 1 3: aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
4: areturn
5: StackMap locals: jdk.incubator.http.HttpHeaders java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
6: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 headers Ljdk/incubator/http/HttpHeaders;
3 7 1 encoding Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
headers
public static java.io.UncheckedIOException unchecked(java.io.IOException);
descriptor: (Ljava/io/IOException;)Ljava/io/UncheckedIOException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.UncheckedIOException
dup
aload 0
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/io/IOException;
MethodParameters:
Name Flags
e
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.http.internal.common.Utils.DISALLOWED_HEADERS_SET:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 header Ljava/lang/String;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
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 header Ljava/lang/String;
private static java.lang.Thread lambda$2(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "DefaultHttpClient"
aload 0
invokestatic jdk.internal.misc.InnocuousThread.newThread:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Ljava/lang/Runnable;
private static java.lang.Integer lambda$3(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/Integer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokestatic sun.net.NetProperties.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic sun.net.NetProperties.get:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$5(java.util.concurrent.BlockingQueue);
descriptor: (Ljava/util/concurrent/BlockingQueue;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=1
0: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
checkcast java.util.Optional
astore 1
start local 1 1: aload 1
invokevirtual java.util.Optional.isPresent:()Z
ifne 3
2: return
3: StackMap locals: java.util.Optional
StackMap stack:
aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Runnable
invokeinterface java.lang.Runnable.run:()V
end local 1 4: goto 0
StackMap locals: java.util.concurrent.BlockingQueue
StackMap stack: java.lang.InterruptedException
5: pop
6: return
LocalVariableTable:
Start End Slot Name Signature
1 4 1 o Ljava/util/Optional<Ljava/lang/Runnable;>;
Exception table:
from to target type
0 2 5 Class java.lang.InterruptedException
3 4 5 Class java.lang.InterruptedException
}
SourceFile: "Utils.java"
NestMembers:
jdk.incubator.http.internal.common.Utils$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.incubator.http.internal.common.Utils$1