class sun.security.util.DomainName$Rules
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.util.DomainName$Rules
super_class: java.lang.Object
{
private final java.util.LinkedList<sun.security.util.DomainName$Rules$RuleSet> ruleSets;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Lsun/security/util/DomainName$Rules$RuleSet;>;
private final boolean hasExceptions;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
2: new java.io.InputStreamReader
dup
aload 1
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 2
start local 2 3: new java.io.BufferedReader
dup
aload 2
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: aload 3
invokevirtual java.io.BufferedReader.read:()I
istore 6
start local 6 6: goto 13
start local 5 7: StackMap locals: sun.security.util.DomainName$Rules java.io.InputStream java.io.InputStreamReader java.io.BufferedReader int java.lang.String int
StackMap stack:
aload 5
invokestatic sun.security.util.DomainName$Rules$RuleSet.numLabels:(Ljava/lang/String;)I
istore 7
start local 7 8: iload 7
ifeq 12
9: aload 0
iload 7
iconst_1
isub
invokevirtual sun.security.util.DomainName$Rules.getRuleSet:(I)Lsun/security/util/DomainName$Rules$RuleSet;
astore 8
start local 8 10: aload 8
iload 6
aload 5
invokevirtual sun.security.util.DomainName$Rules$RuleSet.addRule:(ILjava/lang/String;)V
11: iload 4
aload 8
getfield sun.security.util.DomainName$Rules$RuleSet.hasExceptions:Z
ior
istore 4
end local 8 12: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.io.BufferedReader.read:()I
istore 6
end local 7 end local 5 13: StackMap locals: sun.security.util.DomainName$Rules java.io.InputStream java.io.InputStreamReader java.io.BufferedReader int top int
StackMap stack:
iload 6
iconst_m1
if_icmpeq 15
aload 3
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 5
start local 5 14: ifnonnull 7
end local 5 15: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield sun.security.util.DomainName$Rules.hasExceptions:Z
16: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/util/DomainName$Rules;
0 17 1 is Ljava/io/InputStream;
3 17 2 isr Ljava/io/InputStreamReader;
4 17 3 reader Ljava/io/BufferedReader;
5 17 4 hasExceptions Z
7 13 5 line Ljava/lang/String;
14 15 5 line Ljava/lang/String;
6 17 6 type I
8 13 7 numLabels I
10 12 8 ruleset Lsun/security/util/DomainName$Rules$RuleSet;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
static sun.security.util.DomainName$Rules getRules(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/util/DomainName$Rules;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.security.util.DomainName$Rules.getTopLevelDomain:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String
StackMap stack:
getstatic sun.security.util.DomainName.cache:Ljava/util/Map;
aload 1
aload 1
invokedynamic apply(Ljava/lang/String;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
sun/security/util/DomainName$Rules.lambda$0(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/DomainName$Rules; (6)
(Ljava/lang/String;)Lsun/security/util/DomainName$Rules;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast sun.security.util.DomainName$Rules
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 domain Ljava/lang/String;
1 4 1 tld Ljava/lang/String;
MethodParameters:
Name Flags
domain
private static java.lang.String getTopLevelDomain(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: aload 0
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 domain Ljava/lang/String;
1 4 1 n I
MethodParameters:
Name Flags
domain
private static sun.security.util.DomainName$Rules createRules(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/util/DomainName$Rules;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: invokestatic sun.security.util.DomainName$Rules.getPubSuffixStream:()Ljava/io/InputStream;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 3
ifnull 4
aload 3
invokevirtual java.io.InputStream.close:()V
4: StackMap locals: java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
new java.util.zip.ZipInputStream
dup
aload 3
invokespecial java.util.zip.ZipInputStream.<init>:(Ljava/io/InputStream;)V
invokestatic sun.security.util.DomainName$Rules.getRules:(Ljava/lang/String;Ljava/util/zip/ZipInputStream;)Lsun/security/util/DomainName$Rules;
6: aload 3
ifnull 7
aload 3
invokevirtual java.io.InputStream.close:()V
7: StackMap locals:
StackMap stack: sun.security.util.DomainName$Rules
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 1
9: aload 3
ifnull 10
aload 3
invokevirtual java.io.InputStream.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals: java.lang.String
StackMap stack: java.io.IOException
14: astore 1
start local 1 15: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 20
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 20
16: new java.lang.StringBuilder
dup
ldc "cannot parse public suffix data for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
19: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
20: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 tld Ljava/lang/String;
2 10 3 pubSuffixStream Ljava/io/InputStream;
15 21 1 e Ljava/io/IOException;
Exception table:
from to target type
2 3 8 any
5 6 8 any
1 4 11 any
5 7 11 any
8 11 11 any
0 4 14 Class java.io.IOException
5 7 14 Class java.io.IOException
8 14 14 Class java.io.IOException
MethodParameters:
Name Flags
tld
private static java.io.InputStream getPubSuffixStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new sun.security.util.DomainName$Rules$1
dup
invokespecial sun.security.util.DomainName$Rules$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
astore 0
start local 0 2: aload 0
ifnonnull 7
3: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 7
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 7
4: ldc "trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 7
5: ldc "lib/security/public_suffix_list.dat not found"
iconst_0
anewarray java.lang.Object
6: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals: java.io.InputStream
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 8 0 is Ljava/io/InputStream;
private static sun.security.util.DomainName$Rules getRules(java.lang.String, java.util.zip.ZipInputStream);
descriptor: (Ljava/lang/String;Ljava/util/zip/ZipInputStream;)Lsun/security/util/DomainName$Rules;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual java.util.zip.ZipInputStream.getNextEntry:()Ljava/util/zip/ZipEntry;
astore 3
start local 3 2: goto 7
3: StackMap locals: int java.util.zip.ZipEntry
StackMap stack:
aload 3
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: iconst_1
istore 2
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.zip.ZipInputStream.getNextEntry:()Ljava/util/zip/ZipEntry;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
ifnull 8
iload 2
ifeq 3
8: StackMap locals:
StackMap stack:
iload 2
ifne 12
9: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 11
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 11
10: new java.lang.StringBuilder
dup
ldc "Domain "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aconst_null
areturn
12: StackMap locals:
StackMap stack:
new sun.security.util.DomainName$Rules
dup
aload 1
invokespecial sun.security.util.DomainName$Rules.<init>:(Ljava/io/InputStream;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 tld Ljava/lang/String;
0 13 1 zis Ljava/util/zip/ZipInputStream;
1 13 2 found Z
2 13 3 ze Ljava/util/zip/ZipEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tld
zis
private sun.security.util.DomainName$Rules$RuleSet getRuleSet(int);
descriptor: (I)Lsun/security/util/DomainName$Rules$RuleSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
if_icmpge 2
1: aload 0
getfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
iload 1
invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
checkcast sun.security.util.DomainName$Rules$RuleSet
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 0
getfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
istore 3
start local 3 4: goto 8
5: StackMap locals: sun.security.util.DomainName$Rules$RuleSet int
StackMap stack:
new sun.security.util.DomainName$Rules$RuleSet
dup
iload 3
iconst_1
iadd
invokespecial sun.security.util.DomainName$Rules$RuleSet.<init>:(I)V
astore 2
6: aload 0
getfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
aload 2
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 1
if_icmple 5
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/util/DomainName$Rules;
0 10 1 index I
3 10 2 r Lsun/security/util/DomainName$Rules$RuleSet;
4 9 3 i I
MethodParameters:
Name Flags
index
sun.security.util.DomainName$Match match(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/util/DomainName$Match;
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.security.util.DomainName$Rules.ruleSets:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.descendingIterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 10
3: StackMap locals: sun.security.util.DomainName$Match java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.util.DomainName$Rules$RuleSet
astore 4
start local 4 4: aload 4
aload 1
invokevirtual sun.security.util.DomainName$Rules$RuleSet.match:(Ljava/lang/String;)Lsun/security/util/DomainName$Match;
astore 5
start local 5 5: aload 5
ifnull 10
6: aload 5
invokeinterface sun.security.util.DomainName$Match.type:()Lsun/security/util/DomainName$Rule$Type;
getstatic sun.security.util.DomainName$Rule$Type.EXCEPTION:Lsun/security/util/DomainName$Rule$Type;
if_acmpeq 7
aload 0
getfield sun.security.util.DomainName$Rules.hasExceptions:Z
ifne 8
7: StackMap locals: sun.security.util.DomainName$Rules$RuleSet sun.security.util.DomainName$Match
StackMap stack:
aload 5
areturn
8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
9: aload 5
astore 2
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/util/DomainName$Rules;
0 12 1 domain Ljava/lang/String;
1 12 2 possibleMatch Lsun/security/util/DomainName$Match;
2 12 3 it Ljava/util/Iterator<Lsun/security/util/DomainName$Rules$RuleSet;>;
4 10 4 ruleSet Lsun/security/util/DomainName$Rules$RuleSet;
5 10 5 match Lsun/security/util/DomainName$Match;
MethodParameters:
Name Flags
domain
private static sun.security.util.DomainName$Rules lambda$0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/DomainName$Rules;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokestatic sun.security.util.DomainName$Rules.createRules:(Ljava/lang/String;)Lsun/security/util/DomainName$Rules;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 k Ljava/lang/String;
}
SourceFile: "DomainName.java"
NestHost: sun.security.util.DomainName
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private abstract Match = sun.security.util.DomainName$Match of sun.security.util.DomainName
private Rule = sun.security.util.DomainName$Rule of sun.security.util.DomainName
final Type = sun.security.util.DomainName$Rule$Type of sun.security.util.DomainName$Rule
private Rules = sun.security.util.DomainName$Rules of sun.security.util.DomainName
sun.security.util.DomainName$Rules$1
private RuleSet = sun.security.util.DomainName$Rules$RuleSet of sun.security.util.DomainName$Rules