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 boolean ASSERTIONSENABLED;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean DEBUG;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean DEBUG_HPACK;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean TESTING;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_BUFSIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, 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;>;
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
private static final int COPY_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
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
public static final java.util.List<java.nio.ByteBuffer> EMPTY_BB_LIST;
descriptor: Ljava/util/List;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;
public static final jdk.incubator.http.internal.common.ByteBufferReference[] EMPTY_BBR_ARRAY;
descriptor: [Ljdk/incubator/http/internal/common/ByteBufferReference;
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: iconst_0
istore 0
start local 0 4: getstatic jdk.incubator.http.internal.common.Utils.$assertionsDisabled:Z
ifne 5
iconst_1
dup
istore 0
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
iload 0
putstatic jdk.incubator.http.internal.common.Utils.ASSERTIONSENABLED:Z
end local 0 6: ldc "jdk.internal.httpclient.debug"
iconst_0
invokestatic jdk.incubator.http.internal.common.Utils.getBooleanProperty:(Ljava/lang/String;Z)Z
7: putstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
8: ldc "jdk.internal.httpclient.hpack.debug"
iconst_0
invokestatic jdk.incubator.http.internal.common.Utils.getBooleanProperty:(Ljava/lang/String;Z)Z
9: putstatic jdk.incubator.http.internal.common.Utils.DEBUG_HPACK:Z
10: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.internal.common.Utils.TESTING:Z
11: ldc "jdk.httpclient.bufsize"
sipush 16384
12: invokestatic jdk.incubator.http.internal.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
putstatic jdk.incubator.http.internal.common.Utils.BUFSIZE:I
13: bipush 15
anewarray java.lang.String
dup
iconst_0
14: 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
15: 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
16: 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
17: invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putstatic jdk.incubator.http.internal.common.Utils.DISALLOWED_HEADERS_SET:Ljava/util/Set;
18: 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;
19: sipush 256
newarray 4
putstatic jdk.incubator.http.internal.common.Utils.tchar:[Z
20: sipush 256
newarray 4
putstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
21: ldc "!#$%&'*+-.^_`|~0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
22: invokevirtual java.lang.String.toCharArray:()[C
23: astore 0
start local 0 24: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 28
StackMap locals: char[] top int int char[]
StackMap stack:
25: aload 4
iload 2
caload
istore 1
start local 1 26: getstatic jdk.incubator.http.internal.common.Utils.tchar:[Z
iload 1
iconst_1
bastore
end local 1 27: iinc 2 1
StackMap locals:
StackMap stack:
28: iload 2
iload 3
if_icmplt 25
29: bipush 33
istore 1
start local 1 30: goto 33
31: StackMap locals: char[] int
StackMap stack:
getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
iload 1
iconst_1
bastore
32: iload 1
iconst_1
iadd
i2c
istore 1
StackMap locals:
StackMap stack:
33: iload 1
sipush 255
if_icmplt 31
end local 1 34: getstatic jdk.incubator.http.internal.common.Utils.fieldvchar:[Z
bipush 127
iconst_0
bastore
end local 0 35: iconst_0
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
36: iconst_0
anewarray java.nio.ByteBuffer
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BB_ARRAY:[Ljava/nio/ByteBuffer;
37: invokestatic java.util.List.of:()Ljava/util/List;
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BB_LIST:Ljava/util/List;
38: iconst_0
anewarray jdk.incubator.http.internal.common.ByteBufferReference
putstatic jdk.incubator.http.internal.common.Utils.EMPTY_BBR_ARRAY:[Ljdk/incubator/http/internal/common/ByteBufferReference;
return
LocalVariableTable:
Start End Slot Name Signature
4 6 0 enabled Z
24 35 0 allowedTokenChars [C
26 27 1 c C
30 34 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.lang.Throwable getCompletionCause(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.util.concurrent.CompletionException
ifne 2
1: aload 0
instanceof java.util.concurrent.ExecutionException
ifne 2
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 3: aload 1
ifnonnull 4
aload 0
goto 5
StackMap locals: java.lang.Throwable
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: java.lang.Throwable
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 x Ljava/lang/Throwable;
3 6 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
x
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
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.net.URLPermission permissionForProxy(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Ljava/net/URLPermission;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
ldc "socket://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 7: new java.net.URLPermission
dup
aload 2
ldc "CONNECT"
invokespecial java.net.URLPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 proxyAddress Ljava/net/InetSocketAddress;
3 8 1 sb Ljava/lang/StringBuilder;
7 8 2 urlString Ljava/lang/String;
MethodParameters:
Name Flags
proxyAddress
public static java.net.URLPermission permissionForServer(java.net.URI, java.lang.String, java.util.stream.Stream<java.lang.String>);
descriptor: (Ljava/net/URI;Ljava/lang/String;Ljava/util/stream/Stream;)Ljava/net/URLPermission;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
1: aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: astore 3
start local 3 5: new java.lang.StringBuilder
dup
aload 1
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 2
ldc ","
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 9
8: aload 4
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals: java.lang.String java.lang.StringBuilder java.lang.String
StackMap stack:
new java.net.URLPermission
dup
aload 3
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 10 0 uri Ljava/net/URI;
0 10 1 method Ljava/lang/String;
0 10 2 headers Ljava/util/stream/Stream<Ljava/lang/String;>;
5 10 3 urlString Ljava/lang/String;
6 10 4 actionStringBuilder Ljava/lang/StringBuilder;
7 10 5 collected Ljava/lang/String;
Signature: (Ljava/net/URI;Ljava/lang/String;Ljava/util/stream/Stream<Ljava/lang/String;>;)Ljava/net/URLPermission;
MethodParameters:
Name Flags
uri
method
headers
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 java.lang.String getServerName(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.net.util.IPAddressUtil.textToNumericFormatV4:(Ljava/lang/String;)[B
ifnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic sun.net.util.IPAddressUtil.textToNumericFormatV6:(Ljava/lang/String;)[B
ifnull 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 addr Ljava/net/InetSocketAddress;
1 6 1 host Ljava/lang/String;
MethodParameters:
Name Flags
addr
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 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$1(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$2(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
static boolean getBooleanProperty(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0008) 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;Z)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;Z)Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 def Z
MethodParameters:
Name Flags
name
def
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 8
StackMap locals: java.lang.Throwable java.io.ByteArrayOutputStream java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
6: astore 3
start local 3 7: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 t Ljava/lang/Throwable;
1 9 1 bos Ljava/io/ByteArrayOutputStream;
2 9 2 s Ljava/lang/String;
3 5 3 p Ljava/io/PrintStream;
7 8 3 ex Ljava/io/UnsupportedEncodingException;
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 long accumulateBuffers(java.util.List<java.nio.ByteBuffer>, java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;Ljava/util/List;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals: java.util.List java.util.List long top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 4
start local 4 3: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 6
start local 6 4: iload 6
ifgt 6
5: goto 23
6: StackMap locals: java.util.List java.util.List long java.nio.ByteBuffer java.util.Iterator int
StackMap stack:
aload 0
invokeinterface java.util.List.size:()I
istore 7
start local 7 7: iload 7
ifne 11
8: aload 0
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: iload 6
i2l
lstore 2
10: goto 23
11: StackMap locals: int
StackMap stack:
aload 0
iload 7
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 8
start local 8 12: aload 8
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 8
invokevirtual java.nio.ByteBuffer.limit:()I
isub
istore 9
start local 9 13: iload 6
sipush 8192
if_icmpgt 21
iload 9
iload 6
if_icmplt 21
14: aload 8
invokevirtual java.nio.ByteBuffer.position:()I
istore 10
start local 10 15: aload 8
invokevirtual java.nio.ByteBuffer.limit:()I
istore 11
start local 11 16: aload 8
iload 11
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
17: aload 8
iload 11
iload 6
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
18: aload 8
aload 4
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
19: aload 8
iload 10
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 11 end local 10 20: goto 22
21: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 0
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: StackMap locals:
StackMap stack:
lload 2
iload 6
i2l
ladd
lstore 2
end local 9 end local 8 end local 7 end local 6 end local 4 23: StackMap locals: java.util.List java.util.List long top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
24: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 currentList Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 25 1 buffersToAdd Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 25 2 accumulatedBytes J
3 23 4 bufferToAdd Ljava/nio/ByteBuffer;
4 23 6 remaining I
7 23 7 listSize I
12 23 8 lastBuffer Ljava/nio/ByteBuffer;
13 23 9 freeSpace I
15 20 10 position I
16 20 11 limit I
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Ljava/util/List<Ljava/nio/ByteBuffer;>;)J
MethodParameters:
Name Flags
currentList
buffersToAdd
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 long remaining(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: java.nio.ByteBuffer[] long top int int java.nio.ByteBuffer[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: lload 1
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bufs [Ljava/nio/ByteBuffer;
1 7 1 remain J
3 4 3 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bufs
public static boolean hasRemaining(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.util.List java.util.List 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: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 6
4: aload 1
monitorexit
5: iconst_1
ireturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 1
monitorexit
8: goto 11
StackMap locals: java.util.List java.util.List
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 bufs Ljava/util/List<Ljava/nio/ByteBuffer;>;
3 6 2 buf Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 5 9 any
6 8 9 any
9 10 9 any
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)Z
MethodParameters:
Name Flags
bufs
public static long remaining(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
dup
astore 3
monitorenter
2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: java.util.List long java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 4
start local 4 4: lload 1
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 3
monitorexit
7: goto 10
StackMap locals: java.util.List long java.util.List
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 bufs Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 11 1 remain J
4 5 4 buf Ljava/nio/ByteBuffer;
Exception table:
from to target type
2 7 8 any
8 9 8 any
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)J
MethodParameters:
Name Flags
bufs
public static int remaining(java.util.List<java.nio.ByteBuffer>, );
descriptor: (Ljava/util/List;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 0
dup
astore 4
monitorenter
2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: java.util.List int long java.util.List top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 5
start local 5 4: lload 2
aload 5
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 2
5: lload 2
iload 1
i2l
lcmp
ifle 7
6: new java.lang.IllegalArgumentException
dup
ldc "too many bytes"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 4
monitorexit
9: goto 12
StackMap locals: java.util.List int long java.util.List
StackMap stack: java.lang.Throwable
10: aload 4
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 bufs Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 13 1 max I
1 13 2 remain J
4 7 5 buf Ljava/nio/ByteBuffer;
Exception table:
from to target type
2 9 10 any
10 11 10 any
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;I)I
MethodParameters:
Name Flags
bufs
max
public static long remaining(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: jdk.incubator.http.internal.common.ByteBufferReference[] long top int int jdk.incubator.http.internal.common.ByteBufferReference[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: lload 1
aload 3
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.get:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: lload 1
lreturn
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 J
3 4 3 ref Ljdk/incubator/http/internal/common/ByteBufferReference;
MethodParameters:
Name Flags
refs
public static int remaining(jdk.incubator.http.internal.common.ByteBufferReference[], int);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: jdk.incubator.http.internal.common.ByteBufferReference[] int long top int int jdk.incubator.http.internal.common.ByteBufferReference[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: lload 2
aload 4
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.get:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 2
4: lload 2
iload 1
i2l
lcmp
ifle 6
5: new java.lang.IllegalArgumentException
dup
ldc "too many bytes"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 2
8: lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 refs [Ljdk/incubator/http/internal/common/ByteBufferReference;
0 9 1 max I
1 9 2 remain J
3 6 4 ref Ljdk/incubator/http/internal/common/ByteBufferReference;
MethodParameters:
Name Flags
refs
max
public static int remaining(java.nio.ByteBuffer[], int);
descriptor: ([Ljava/nio/ByteBuffer;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: java.nio.ByteBuffer[] int long top int int java.nio.ByteBuffer[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: lload 2
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 2
4: lload 2
iload 1
i2l
lcmp
ifle 6
5: new java.lang.IllegalArgumentException
dup
ldc "too many bytes"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 2
8: lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 refs [Ljava/nio/ByteBuffer;
0 9 1 max I
1 9 2 remain J
3 6 4 b Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
refs
max
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 java.nio.ByteBuffer sliceWithLimitedCapacity(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
istore 2
start local 2 1: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 3
start local 3 2: iload 2
iload 3
if_icmpeq 5
3: aload 0
iload 2
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
4: goto 6
5: 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
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 4
start local 4 7: aload 0
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
8: aload 0
iload 3
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
9: aload 4
iload 1
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
10: 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 11 0 buffer Ljava/nio/ByteBuffer;
0 11 1 amount I
1 11 2 index I
2 11 3 limit I
7 11 4 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"
invokevirtual 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
public static java.lang.System$Logger getDebugLogger(java.util.function.Supplier<java.lang.String>);
descriptor: (Ljava/util/function/Supplier;)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;)Ljava/lang/System$Logger;
MethodParameters:
Name Flags
dbgTag
static java.lang.System$Logger getDebugLogger(java.util.function.Supplier<java.lang.String>, java.lang.System$Logger$Level);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
aload 1
invokestatic jdk.incubator.http.internal.common.DebugLogger.createHttpLogger:(Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 1 1 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
MethodParameters:
Name Flags
dbgTag
errLevel
public static java.lang.System$Logger getDebugLogger(java.util.function.Supplier<java.lang.String>, boolean);
descriptor: (Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
getstatic java.lang.System$Logger$Level.ALL:Ljava/lang/System$Logger$Level;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
StackMap locals:
StackMap stack: java.lang.System$Logger$Level
2: astore 2
start local 2 3: aload 0
aload 2
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 4 1 on Z
3 4 2 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Z)Ljava/lang/System$Logger;
MethodParameters:
Name Flags
dbgTag
on
public static java.lang.System$Logger getHpackLogger(java.util.function.Supplier<java.lang.String>, java.lang.System$Logger$Level);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokestatic jdk.incubator.http.internal.common.DebugLogger.createHpackLogger:(Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;Ljava/lang/System$Logger$Level;)Ljdk/incubator/http/internal/common/DebugLogger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 2 1 outLevel Ljava/lang/System$Logger$Level;
1 2 2 errLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
MethodParameters:
Name Flags
dbgTag
outLevel
public static java.lang.System$Logger getHpackLogger(java.util.function.Supplier<java.lang.String>, boolean);
descriptor: (Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
getstatic java.lang.System$Logger$Level.ALL:Ljava/lang/System$Logger$Level;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System$Logger$Level.OFF:Ljava/lang/System$Logger$Level;
StackMap locals:
StackMap stack: java.lang.System$Logger$Level
2: astore 2
start local 2 3: aload 0
aload 2
invokestatic jdk.incubator.http.internal.common.Utils.getHpackLogger:(Ljava/util/function/Supplier;Ljava/lang/System$Logger$Level;)Ljava/lang/System$Logger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 dbgTag Ljava/util/function/Supplier<Ljava/lang/String;>;
0 4 1 on Z
3 4 2 outLevel Ljava/lang/System$Logger$Level;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;Z)Ljava/lang/System$Logger;
MethodParameters:
Name Flags
dbgTag
on
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 java.lang.Integer lambda$1(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$2(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 java.lang.Boolean lambda$3(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Utils.java"
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles