class okhttp3.Dns$1 implements okhttp3.Dns
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: okhttp3.Dns$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lokhttp3/Dns$1;
public java.util.List<java.net.InetAddress> lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.net.UnknownHostException
dup
ldc "hostname == null"
invokespecial java.net.UnknownHostException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokestatic java.net.InetAddress.getAllByName:(Ljava/lang/String;)[Ljava/net/InetAddress;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 2
start local 2 4: new java.net.UnknownHostException
dup
new java.lang.StringBuilder
dup
ldc "Broken system behaviour for dns lookup of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.UnknownHostException.<init>:(Ljava/lang/String;)V
5: astore 3
start local 3 6: aload 3
aload 2
invokevirtual java.net.UnknownHostException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
7: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lokhttp3/Dns$1;
0 8 1 hostname Ljava/lang/String;
4 8 2 e Ljava/lang/NullPointerException;
6 8 3 unknownHostException Ljava/net/UnknownHostException;
Exception table:
from to target type
1 2 3 Class java.lang.NullPointerException
Exceptions:
throws java.net.UnknownHostException
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
hostname
}
SourceFile: "Dns.java"
EnclosingMethod: okhttp3.Dns
NestHost: okhttp3.Dns
InnerClasses:
okhttp3.Dns$1