public class com.sun.istack.internal.tools.DefaultAuthenticator extends java.net.Authenticator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.istack.internal.tools.DefaultAuthenticator
super_class: java.net.Authenticator
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static com.sun.istack.internal.tools.DefaultAuthenticator instance;
descriptor: Lcom/sun/istack/internal/tools/DefaultAuthenticator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.net.Authenticator systemAuthenticator;
descriptor: Ljava/net/Authenticator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String proxyUser;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String proxyPasswd;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo> authInfo;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/istack/internal/tools/DefaultAuthenticator$AuthInfo;>;
private static int counter;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/istack/internal/tools/DefaultAuthenticator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
1: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.getCurrentAuthenticator:()Ljava/net/Authenticator;
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.systemAuthenticator:Ljava/net/Authenticator;
2: iconst_0
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.net.Authenticator.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.istack.internal.tools.DefaultAuthenticator.authInfo:Ljava/util/List;
2: ldc "http.proxyUser"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 5
3: aload 0
ldc "http.proxyUser"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
4: goto 6
5: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator
StackMap stack:
aload 0
ldc "proxyUser"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
ldc "http.proxyPassword"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 9
7: aload 0
ldc "http.proxyPassword"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
ldc "proxyPassword"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/istack/internal/tools/DefaultAuthenticator;
public static synchronized com.sun.istack.internal.tools.DefaultAuthenticator getAuthenticator();
descriptor: ()Lcom/sun/istack/internal/tools/DefaultAuthenticator;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.instance:Lcom/sun/istack/internal/tools/DefaultAuthenticator;
ifnonnull 3
1: new com.sun.istack.internal.tools.DefaultAuthenticator
dup
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator.<init>:()V
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.instance:Lcom/sun/istack/internal/tools/DefaultAuthenticator;
2: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.instance:Lcom/sun/istack/internal/tools/DefaultAuthenticator;
invokestatic java.net.Authenticator.setDefault:(Ljava/net/Authenticator;)V
3: StackMap locals:
StackMap stack:
getstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
iconst_1
iadd
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
4: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.instance:Lcom/sun/istack/internal/tools/DefaultAuthenticator;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void reset();
descriptor: ()V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
iconst_1
isub
putstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
1: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.instance:Lcom/sun/istack/internal/tools/DefaultAuthenticator;
ifnull 3
getstatic com.sun.istack.internal.tools.DefaultAuthenticator.counter:I
ifne 3
2: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.systemAuthenticator:Ljava/net/Authenticator;
invokestatic java.net.Authenticator.setDefault:(Ljava/net/Authenticator;)V
3: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
protected java.net.PasswordAuthentication getPasswordAuthentication();
descriptor: ()Ljava/net/PasswordAuthentication;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.getRequestorType:()Ljava/net/Authenticator$RequestorType;
getstatic java.net.Authenticator$RequestorType.PROXY:Ljava/net/Authenticator$RequestorType;
if_acmpne 2
aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
ifnull 2
aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
ifnull 2
1: new java.net.PasswordAuthentication
dup
aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
invokespecial java.net.PasswordAuthentication.<init>:(Ljava/lang/String;[C)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.authInfo:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo
astore 1
start local 1 4: aload 1
aload 0
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.getRequestingURL:()Ljava/net/URL;
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo.matchingHost:(Ljava/net/URL;)Z
ifeq 6
5: new java.net.PasswordAuthentication
dup
aload 1
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo.getUser:()Ljava/lang/String;
aload 1
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo.getPassword:()Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
invokespecial java.net.PasswordAuthentication.<init>:(Ljava/lang/String;[C)V
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/istack/internal/tools/DefaultAuthenticator;
4 6 1 auth Lcom/sun/istack/internal/tools/DefaultAuthenticator$AuthInfo;
public void setProxyAuth(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: aload 0
aconst_null
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
3: goto 15
4: StackMap locals:
StackMap stack:
aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 5: iload 2
ifge 9
6: aload 0
aload 1
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
7: aload 0
ldc ""
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
8: goto 15
StackMap locals: int
StackMap stack:
9: iload 2
ifne 13
10: aload 0
ldc ""
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
11: aload 0
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyUser:Ljava/lang/String;
14: aload 0
aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.sun.istack.internal.tools.DefaultAuthenticator.proxyPasswd:Ljava/lang/String;
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/istack/internal/tools/DefaultAuthenticator;
0 16 1 proxyAuth Ljava/lang/String;
5 15 2 i I
MethodParameters:
Name Flags
proxyAuth
public void setAuth(java.io.File, com.sun.istack.internal.tools.DefaultAuthenticator$Receiver);
descriptor: (Ljava/io/File;Lcom/sun/istack/internal/tools/DefaultAuthenticator$Receiver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 1
new com.sun.istack.internal.tools.DefaultAuthenticator$DefaultRImpl
dup
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$DefaultRImpl.<init>:()V
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: com.sun.istack.internal.tools.DefaultAuthenticator$Receiver
2: astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: new org.xml.sax.helpers.LocatorImpl
dup
invokespecial org.xml.sax.helpers.LocatorImpl.<init>:()V
astore 8
start local 8 7: aload 8
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual org.xml.sax.helpers.LocatorImpl.setSystemId:(Ljava/lang/String;)V
8: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 5
9: new java.io.InputStreamReader
dup
aload 5
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 6
10: new java.io.BufferedReader
dup
aload 6
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
11: goto 24
StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader top org.xml.sax.helpers.LocatorImpl
StackMap stack: java.io.IOException
12: astore 9
start local 9 13: aload 3
aload 9
aload 8
invokeinterface com.sun.istack.internal.tools.DefaultAuthenticator$Receiver.onError:(Ljava/lang/Exception;Lorg/xml/sax/Locator;)V
14: aload 4
ifnull 16
15: aload 4
invokevirtual java.io.BufferedReader.close:()V
16: StackMap locals: java.io.IOException
StackMap stack:
aload 6
ifnull 18
17: aload 6
invokevirtual java.io.InputStreamReader.close:()V
18: StackMap locals:
StackMap stack:
aload 5
ifnull 23
19: aload 5
invokevirtual java.io.FileInputStream.close:()V
20: goto 23
StackMap locals:
StackMap stack: java.io.IOException
21: astore 12
start local 12 22: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 12
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 23: StackMap locals:
StackMap stack:
return
end local 9 24: StackMap locals:
StackMap stack:
iconst_1
istore 9
start local 9 25: aload 8
aload 1
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokevirtual org.xml.sax.helpers.LocatorImpl.setSystemId:(Ljava/lang/String;)V
26: goto 35
start local 7 27: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader java.lang.String org.xml.sax.helpers.LocatorImpl int
StackMap stack:
aload 8
iload 9
iinc 9 1
invokevirtual org.xml.sax.helpers.LocatorImpl.setLineNumber:(I)V
28: ldc ""
aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
aload 7
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 30
29: goto 35
30: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual com.sun.istack.internal.tools.DefaultAuthenticator.parseLine:(Ljava/lang/String;)Lcom/sun/istack/internal/tools/DefaultAuthenticator$AuthInfo;
astore 10
start local 10 31: aload 0
getfield com.sun.istack.internal.tools.DefaultAuthenticator.authInfo:Ljava/util/List;
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 32: goto 35
StackMap locals:
StackMap stack: java.lang.Exception
33: pop
34: aload 3
aload 7
aload 8
invokeinterface com.sun.istack.internal.tools.DefaultAuthenticator$Receiver.onParsingError:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
end local 7 35: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader top org.xml.sax.helpers.LocatorImpl int
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 7
start local 7 36: ifnonnull 27
end local 9 37: goto 53
end local 7 StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader top org.xml.sax.helpers.LocatorImpl
StackMap stack: java.io.IOException
38: astore 9
start local 9 39: aload 3
aload 9
aload 8
invokeinterface com.sun.istack.internal.tools.DefaultAuthenticator$Receiver.onError:(Ljava/lang/Exception;Lorg/xml/sax/Locator;)V
40: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 9
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 9
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 end local 8 41: goto 53
StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader
StackMap stack: java.lang.Throwable
42: astore 11
43: aload 4
ifnull 45
44: aload 4
invokevirtual java.io.BufferedReader.close:()V
45: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader top top top top java.lang.Throwable
StackMap stack:
aload 6
ifnull 47
46: aload 6
invokevirtual java.io.InputStreamReader.close:()V
47: StackMap locals:
StackMap stack:
aload 5
ifnull 52
48: aload 5
invokevirtual java.io.FileInputStream.close:()V
49: goto 52
StackMap locals:
StackMap stack: java.io.IOException
50: astore 12
start local 12 51: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 12
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 52: StackMap locals:
StackMap stack:
aload 11
athrow
53: StackMap locals: com.sun.istack.internal.tools.DefaultAuthenticator java.io.File com.sun.istack.internal.tools.DefaultAuthenticator$Receiver com.sun.istack.internal.tools.DefaultAuthenticator$Receiver java.io.BufferedReader java.io.FileInputStream java.io.InputStreamReader
StackMap stack:
aload 4
ifnull 55
54: aload 4
invokevirtual java.io.BufferedReader.close:()V
55: StackMap locals:
StackMap stack:
aload 6
ifnull 57
56: aload 6
invokevirtual java.io.InputStreamReader.close:()V
57: StackMap locals:
StackMap stack:
aload 5
ifnull 62
58: aload 5
invokevirtual java.io.FileInputStream.close:()V
59: goto 62
StackMap locals:
StackMap stack: java.io.IOException
60: astore 12
start local 12 61: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 12
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 62: StackMap locals:
StackMap stack:
return
end local 6 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 63 0 this Lcom/sun/istack/internal/tools/DefaultAuthenticator;
0 63 1 f Ljava/io/File;
0 63 2 l Lcom/sun/istack/internal/tools/DefaultAuthenticator$Receiver;
3 63 3 listener Lcom/sun/istack/internal/tools/DefaultAuthenticator$Receiver;
4 63 4 in Ljava/io/BufferedReader;
5 63 5 fi Ljava/io/FileInputStream;
6 63 6 is Ljava/io/InputStreamReader;
27 35 7 text Ljava/lang/String;
36 38 7 text Ljava/lang/String;
7 41 8 locator Lorg/xml/sax/helpers/LocatorImpl;
13 24 9 e Ljava/io/IOException;
25 37 9 lineno I
31 32 10 ai Lcom/sun/istack/internal/tools/DefaultAuthenticator$AuthInfo;
39 41 9 e Ljava/io/IOException;
22 23 12 ex Ljava/io/IOException;
51 52 12 ex Ljava/io/IOException;
61 62 12 ex Ljava/io/IOException;
Exception table:
from to target type
8 11 12 Class java.io.UnsupportedEncodingException
8 11 12 Class java.io.FileNotFoundException
14 20 21 Class java.io.IOException
30 32 33 Class java.lang.Exception
24 37 38 Class java.io.IOException
6 14 42 any
24 42 42 any
43 49 50 Class java.io.IOException
53 59 60 Class java.io.IOException
MethodParameters:
Name Flags
f
l
private com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo parseLine(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/istack/internal/tools/DefaultAuthenticator$AuthInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: goto 11
end local 2 StackMap locals:
StackMap stack: java.net.MalformedURLException
2: pop
3: aload 1
bipush 58
aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
iconst_1
iadd
istore 3
start local 3 4: aload 1
bipush 64
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 5: new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 1
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: astore 5
start local 5 10: new java.net.URL
dup
aload 5
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 2
end local 5 end local 4 end local 3 start local 2 11: StackMap locals: java.net.URL
StackMap stack:
aload 2
invokevirtual java.net.URL.getUserInfo:()Ljava/lang/String;
astore 3
start local 3 12: aload 3
ifnull 21
13: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 14: iload 4
iflt 21
15: aload 3
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 16: aload 3
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 17: new com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo
dup
18: new java.net.URL
dup
aload 2
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 2
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
aload 2
invokevirtual java.net.URL.getPort:()I
aload 2
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
19: aload 5
aload 6
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
20: invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 end local 5 end local 4 21: StackMap locals: java.lang.String
StackMap stack:
new java.lang.Exception
dup
invokespecial java.lang.Exception.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/istack/internal/tools/DefaultAuthenticator;
0 22 1 text Ljava/lang/String;
1 2 2 url Ljava/net/URL;
11 22 2 url Ljava/net/URL;
4 11 3 i I
5 11 4 j I
10 11 5 encodedUrl Ljava/lang/String;
12 22 3 authinfo Ljava/lang/String;
14 21 4 i I
16 21 5 user Ljava/lang/String;
17 21 6 password Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
text
static java.net.Authenticator getCurrentAuthenticator();
descriptor: ()Ljava/net/Authenticator;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: new com.sun.istack.internal.tools.DefaultAuthenticator$1
dup
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.Authenticator
1: areturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 0
start local 0 3: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
4: getstatic com.sun.istack.internal.tools.DefaultAuthenticator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aconst_null
aload 0
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
5: StackMap locals: java.security.PrivilegedActionException
StackMap stack:
aload 0
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 1
start local 1 6: aload 1
instanceof java.lang.NoSuchMethodException
ifne 8
7: aconst_null
areturn
end local 1 end local 0 8: StackMap locals:
StackMap stack:
invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.getTheAuthenticator:()Ljava/lang/reflect/Field;
astore 0
start local 0 9: aload 0
ifnonnull 11
10: aconst_null
areturn
11: StackMap locals: java.lang.reflect.Field
StackMap stack:
new com.sun.istack.internal.tools.DefaultAuthenticator$3
dup
aload 0
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$3.<init>:(Ljava/lang/reflect/Field;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
12: aload 0
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.Authenticator
astore 2
13: new com.sun.istack.internal.tools.DefaultAuthenticator$2
dup
aload 0
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$2.<init>:(Ljava/lang/reflect/Field;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
14: aload 2
areturn
15: StackMap locals:
StackMap stack: java.lang.Exception
pop
16: new com.sun.istack.internal.tools.DefaultAuthenticator$2
dup
aload 0
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$2.<init>:(Ljava/lang/reflect/Field;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
17: aconst_null
areturn
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
19: new com.sun.istack.internal.tools.DefaultAuthenticator$2
dup
aload 0
invokespecial com.sun.istack.internal.tools.DefaultAuthenticator$2.<init>:(Ljava/lang/reflect/Field;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
20: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 8 0 pae Ljava/security/PrivilegedActionException;
6 8 1 ex Ljava/lang/Exception;
9 21 0 f Ljava/lang/reflect/Field;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
11 13 15 Class java.lang.IllegalAccessException
11 13 15 Class java.lang.IllegalArgumentException
11 13 18 any
15 16 18 any
private static java.lang.reflect.Field getTheAuthenticator();
descriptor: ()Ljava/lang/reflect/Field;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljava/net/Authenticator;
ldc "theAuthenticator"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchFieldException
0 1 2 Class java.lang.SecurityException
}
SourceFile: "DefaultAuthenticator.java"
NestMembers:
com.sun.istack.internal.tools.DefaultAuthenticator$1 com.sun.istack.internal.tools.DefaultAuthenticator$2 com.sun.istack.internal.tools.DefaultAuthenticator$3 com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo com.sun.istack.internal.tools.DefaultAuthenticator$DefaultRImpl com.sun.istack.internal.tools.DefaultAuthenticator$Receiver
InnerClasses:
com.sun.istack.internal.tools.DefaultAuthenticator$1
com.sun.istack.internal.tools.DefaultAuthenticator$2
com.sun.istack.internal.tools.DefaultAuthenticator$3
final AuthInfo = com.sun.istack.internal.tools.DefaultAuthenticator$AuthInfo of com.sun.istack.internal.tools.DefaultAuthenticator
private DefaultRImpl = com.sun.istack.internal.tools.DefaultAuthenticator$DefaultRImpl of com.sun.istack.internal.tools.DefaultAuthenticator
public abstract Receiver = com.sun.istack.internal.tools.DefaultAuthenticator$Receiver of com.sun.istack.internal.tools.DefaultAuthenticator
public final RequestorType = java.net.Authenticator$RequestorType of java.net.Authenticator