final class com.sun.webkit.network.PublicSuffixes
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.PublicSuffixes
super_class: java.lang.Object
{
private static final com.sun.javafx.logging.PlatformLogger logger;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.String, com.sun.webkit.network.PublicSuffixes$Rule> RULES;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/webkit/network/PublicSuffixes;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
1: putstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: ldc "effective_tld_names.dat"
invokestatic com.sun.webkit.network.PublicSuffixes.loadRules:(Ljava/lang/String;)Ljava/util/Map;
3: putstatic com.sun.webkit.network.PublicSuffixes.RULES:Ljava/util/Map;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/network/PublicSuffixes;
static boolean isPublicSuffix(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.network.PublicSuffixes.RULES:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.webkit.network.PublicSuffixes$Rule
astore 1
start local 1 3: aload 1
getstatic com.sun.webkit.network.PublicSuffixes$Rule.EXCEPTION_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
if_acmpne 5
4: iconst_0
ireturn
5: StackMap locals: com.sun.webkit.network.PublicSuffixes$Rule
StackMap stack:
aload 1
getstatic com.sun.webkit.network.PublicSuffixes$Rule.SIMPLE_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
if_acmpeq 6
aload 1
getstatic com.sun.webkit.network.PublicSuffixes$Rule.WILDCARD_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
if_acmpne 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
istore 2
start local 2 8: iload 2
ifne 10
9: aload 0
invokevirtual java.lang.String.length:()I
istore 2
10: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 11: getstatic com.sun.webkit.network.PublicSuffixes.RULES:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic com.sun.webkit.network.PublicSuffixes$Rule.WILDCARD_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
if_acmpne 12
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 domain Ljava/lang/String;
3 13 1 rule Lcom/sun/webkit/network/PublicSuffixes$Rule;
8 13 2 pos I
11 13 3 parent Ljava/lang/String;
MethodParameters:
Name Flags
domain
private static java.util.Map<java.lang.String, com.sun.webkit.network.PublicSuffixes$Rule> loadRules(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "resourceName: [{0}]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aconst_null
astore 1
start local 1 2: ldc Lcom/sun/webkit/network/PublicSuffixes;
aload 0
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
start local 2 3: aload 2
ifnull 29
4: aconst_null
astore 3
start local 3 5: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 2
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 3
6: aload 3
invokestatic com.sun.webkit.network.PublicSuffixes.loadRules:(Ljava/io/BufferedReader;)Ljava/util/Map;
astore 1
7: goto 23
StackMap locals: java.lang.String java.util.Map java.io.InputStream java.io.BufferedReader
StackMap stack: java.io.IOException
8: astore 4
start local 4 9: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Unexpected error"
aload 4
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 10: aload 3
ifnull 32
11: aload 3
invokevirtual java.io.BufferedReader.close:()V
12: goto 32
StackMap locals:
StackMap stack: java.io.IOException
13: astore 6
start local 6 14: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Unexpected error"
aload 6
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 15: goto 32
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
17: aload 3
ifnull 22
18: aload 3
invokevirtual java.io.BufferedReader.close:()V
19: goto 22
StackMap locals: java.lang.String java.util.Map java.io.InputStream java.io.BufferedReader top java.lang.Throwable
StackMap stack: java.io.IOException
20: astore 6
start local 6 21: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Unexpected error"
aload 6
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 22: StackMap locals:
StackMap stack:
aload 5
athrow
23: StackMap locals: java.lang.String java.util.Map java.io.InputStream java.io.BufferedReader
StackMap stack:
aload 3
ifnull 32
24: aload 3
invokevirtual java.io.BufferedReader.close:()V
25: goto 32
StackMap locals:
StackMap stack: java.io.IOException
26: astore 6
start local 6 27: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Unexpected error"
aload 6
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 6 end local 3 28: goto 32
29: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Resource not found: [{0}]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
30: aload 0
aastore
31: invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
32: StackMap locals:
StackMap stack:
aload 1
ifnull 34
33: aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
goto 35
34: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
35: StackMap locals:
StackMap stack: java.util.Map
astore 1
36: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINEST:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 38
37: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "result: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic com.sun.webkit.network.PublicSuffixes.toLogString:(Ljava/util/Map;)Ljava/lang/String;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
38: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 resourceName Ljava/lang/String;
2 39 1 result Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
3 39 2 is Ljava/io/InputStream;
5 28 3 reader Ljava/io/BufferedReader;
9 10 4 ex Ljava/io/IOException;
14 15 6 ex Ljava/io/IOException;
21 22 6 ex Ljava/io/IOException;
27 28 6 ex Ljava/io/IOException;
Exception table:
from to target type
5 7 8 Class java.io.IOException
10 12 13 Class java.io.IOException
5 10 16 any
17 19 20 Class java.io.IOException
23 25 26 Class java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
MethodParameters:
Name Flags
resourceName
private static java.util.Map<java.lang.String, com.sun.webkit.network.PublicSuffixes$Rule> loadRules(java.io.BufferedReader);
descriptor: (Ljava/io/BufferedReader;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: goto 22
start local 2 2: StackMap locals: java.util.Map java.lang.String
StackMap stack:
aload 2
ldc "\\s+"
iconst_2
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
iconst_0
aaload
astore 2
3: aload 2
invokevirtual java.lang.String.length:()I
ifne 5
4: goto 22
5: StackMap locals:
StackMap stack:
aload 2
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: goto 22
7: StackMap locals:
StackMap stack:
aload 2
ldc "!"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
8: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
9: getstatic com.sun.webkit.network.PublicSuffixes$Rule.EXCEPTION_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
astore 3
start local 3 10: goto 16
end local 3 StackMap locals:
StackMap stack:
11: aload 2
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
12: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
13: getstatic com.sun.webkit.network.PublicSuffixes$Rule.WILDCARD_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
astore 3
start local 3 14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.network.PublicSuffixes$Rule.SIMPLE_RULE:Lcom/sun/webkit/network/PublicSuffixes$Rule;
astore 3
start local 3 16: StackMap locals: com.sun.webkit.network.PublicSuffixes$Rule
StackMap stack:
aload 2
iconst_1
invokestatic java.net.IDN.toASCII:(Ljava/lang/String;I)Ljava/lang/String;
astore 2
17: goto 21
StackMap locals:
StackMap stack: java.lang.Exception
18: astore 4
start local 4 19: getstatic com.sun.webkit.network.PublicSuffixes.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error parsing rule: [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
20: goto 22
end local 4 21: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 2
start local 2 23: ifnonnull 2
24: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 reader Ljava/io/BufferedReader;
1 25 1 result Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
2 22 2 line Ljava/lang/String;
23 25 2 line Ljava/lang/String;
10 11 3 rule Lcom/sun/webkit/network/PublicSuffixes$Rule;
14 15 3 rule Lcom/sun/webkit/network/PublicSuffixes$Rule;
16 22 3 rule Lcom/sun/webkit/network/PublicSuffixes$Rule;
19 21 4 ex Ljava/lang/Exception;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/BufferedReader;)Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
MethodParameters:
Name Flags
reader
private static java.lang.String toLogString(java.util.Map<java.lang.String, com.sun.webkit.network.PublicSuffixes$Rule>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: ldc "{}"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: java.util.Map java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 5: aload 1
ldc "%n "
iconst_0
anewarray java.lang.Object
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 rules Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
3 11 1 sb Ljava/lang/StringBuilder;
5 9 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Lcom/sun/webkit/network/PublicSuffixes$Rule;>;)Ljava/lang/String;
MethodParameters:
Name Flags
rules
}
SourceFile: "PublicSuffixes.java"
NestMembers:
com.sun.webkit.network.PublicSuffixes$Rule
InnerClasses:
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
private final Rule = com.sun.webkit.network.PublicSuffixes$Rule of com.sun.webkit.network.PublicSuffixes
public abstract Entry = java.util.Map$Entry of java.util.Map