public class sun.applet.Main
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.applet.Main
super_class: java.lang.Object
{
static java.io.File theUserPropertiesFile;
descriptor: Ljava/io/File;
flags: (0x0008) ACC_STATIC
static final java.lang.String[][] avDefaultUserProps;
descriptor: [[Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static sun.applet.AppletMessageHandler amh;
descriptor: Lsun/applet/AppletMessageHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean helpFlag;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean noSecurityFlag;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static boolean cmdLineTestFlag;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Vector<java.net.URL> urlList;
descriptor: Ljava/util/Vector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Vector<Ljava/net/URL;>;
public static final java.lang.String theVersion;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=0
0: iconst_3
anewarray java.lang.String[]
dup
iconst_0
1: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "http.proxyHost"
aastore
dup
iconst_1
ldc ""
aastore
aastore
dup
iconst_1
2: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "http.proxyPort"
aastore
dup
iconst_1
ldc "80"
aastore
aastore
dup
iconst_2
3: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "package.restrict.access.sun"
aastore
dup
iconst_1
ldc "true"
aastore
aastore
4: putstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
5: new java.io.File
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 0
start local 0 6: aload 0
invokevirtual java.io.File.canWrite:()Z
pop
7: new java.io.File
dup
aload 0
ldc ".appletviewer"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putstatic sun.applet.Main.theUserPropertiesFile:Ljava/io/File;
end local 0 8: new sun.applet.AppletMessageHandler
dup
ldc "appletviewer"
invokespecial sun.applet.AppletMessageHandler.<init>:(Ljava/lang/String;)V
putstatic sun.applet.Main.amh:Lsun/applet/AppletMessageHandler;
9: iconst_0
putstatic sun.applet.Main.cmdLineTestFlag:Z
10: new java.util.Vector
dup
iconst_1
invokespecial java.util.Vector.<init>:(I)V
putstatic sun.applet.Main.urlList:Ljava/util/Vector;
11: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.applet.Main.theVersion:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
6 8 0 userHome Ljava/io/File;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.applet.Main.helpFlag:Z
2: aload 0
aconst_null
putfield sun.applet.Main.encoding:Ljava/lang/String;
3: aload 0
iconst_0
putfield sun.applet.Main.noSecurityFlag:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/applet/Main;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new sun.applet.Main
dup
invokespecial sun.applet.Main.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.applet.Main.run:([Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
ifne 3
getstatic sun.applet.Main.cmdLineTestFlag:Z
ifeq 4
3: StackMap locals: sun.applet.Main int
StackMap stack:
iload 2
invokestatic java.lang.System.exit:(I)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 args [Ljava/lang/String;
1 5 1 m Lsun/applet/Main;
2 5 2 ret I
MethodParameters:
Name Flags
args
private int run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "deprecated"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
2: aload 1
arraylength
ifne 5
3: invokestatic sun.applet.Main.usage:()V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: goto 13
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual sun.applet.Main.decodeArg:([Ljava/lang/String;I)I
istore 3
start local 3 8: iload 3
ifne 12
9: new sun.applet.Main$ParseException
dup
aload 0
ldc "main.err.unrecognizedarg"
10: aload 1
iload 2
aaload
11: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial sun.applet.Main$ParseException.<init>:(Lsun/applet/Main;Ljava/lang/String;)V
athrow
12: StackMap locals: int
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 13: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 7
end local 2 14: goto 18
StackMap locals: sun.applet.Main java.lang.String[]
StackMap stack: sun.applet.Main$ParseException
15: astore 2
start local 2 16: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual sun.applet.Main$ParseException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: iconst_1
ireturn
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.applet.Main.helpFlag:Z
ifeq 21
19: invokestatic sun.applet.Main.usage:()V
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
getstatic sun.applet.Main.urlList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 24
22: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.inputfile"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: iconst_1
ireturn
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.applet.Main.noSecurityFlag:Z
ifne 26
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 26
25: aload 0
invokevirtual sun.applet.Main.init:()V
26: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 27: goto 34
28: StackMap locals: int
StackMap stack:
getstatic sun.applet.Main.urlList:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.net.URL
aload 0
getfield sun.applet.Main.encoding:Ljava/lang/String;
invokestatic sun.applet.AppletViewer.parse:(Ljava/net/URL;Ljava/lang/String;)V
29: goto 33
StackMap locals:
StackMap stack: java.io.IOException
30: astore 3
start local 3 31: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.io"
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
32: iconst_1
ireturn
end local 3 33: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
34: iload 2
getstatic sun.applet.Main.urlList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 28
end local 2 35: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lsun/applet/Main;
0 36 1 args [Ljava/lang/String;
6 14 2 i I
8 13 3 j I
16 18 2 e Lsun/applet/Main$ParseException;
27 35 2 i I
31 33 3 e Ljava/io/IOException;
Exception table:
from to target type
0 4 15 Class sun.applet.Main$ParseException
5 14 15 Class sun.applet.Main$ParseException
28 29 30 Class java.io.IOException
MethodParameters:
Name Flags
args
private static void usage();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "usage"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private int decodeArg(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
aaload
astore 3
start local 3 1: aload 1
arraylength
istore 4
start local 4 2: ldc "-help"
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
ldc "-?"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: StackMap locals: java.lang.String int
StackMap stack:
aload 0
iconst_1
putfield sun.applet.Main.helpFlag:Z
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
ldc "-encoding"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
iload 2
iload 4
iconst_1
isub
if_icmpge 10
6: aload 0
getfield sun.applet.Main.encoding:Ljava/lang/String;
ifnull 8
7: new sun.applet.Main$ParseException
dup
aload 0
ldc "main.err.dupoption"
aload 3
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial sun.applet.Main$ParseException.<init>:(Lsun/applet/Main;Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
iinc 2 1
iload 2
aaload
putfield sun.applet.Main.encoding:Ljava/lang/String;
9: iconst_2
ireturn
10: StackMap locals:
StackMap stack:
ldc "-Xnosecurity"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
11: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
12: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.warn.nosecmgr"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
14: aload 0
iconst_1
putfield sun.applet.Main.noSecurityFlag:Z
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
ldc "-XcmdLineTest"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: iconst_1
putstatic sun.applet.Main.cmdLineTestFlag:Z
18: iconst_1
ireturn
19: StackMap locals:
StackMap stack:
aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
20: new sun.applet.Main$ParseException
dup
aload 0
ldc "main.err.unsupportedopt"
aload 3
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial sun.applet.Main$ParseException.<init>:(Lsun/applet/Main;Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual sun.applet.Main.parseURL:(Ljava/lang/String;)Ljava/net/URL;
astore 5
start local 5 22: aload 5
ifnull 25
23: getstatic sun.applet.Main.urlList:Ljava/util/Vector;
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
24: iconst_1
ireturn
end local 5 25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/applet/Main;
0 26 1 args [Ljava/lang/String;
0 26 2 i I
1 26 3 arg Ljava/lang/String;
2 26 4 argc I
22 25 5 url Ljava/net/URL;
Exceptions:
throws sun.applet.Main$ParseException
MethodParameters:
Name Flags
args
i
private java.net.URL parseURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: ldc "file:"
astore 3
start local 3 2: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
if_icmpgt 5
3: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic sun.net.www.ParseUtil.fileToEncodedURL:(Ljava/io/File;)Ljava/net/URL;
astore 2
4: goto 19
StackMap locals: java.net.URL java.lang.String
StackMap stack:
5: aload 1
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
6: aload 1
invokevirtual java.lang.String.length:()I
aload 3
invokevirtual java.lang.String.length:()I
if_icmpeq 13
7: new java.io.File
dup
aload 1
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isAbsolute:()Z
ifne 13
8: new java.lang.StringBuilder
dup
new java.io.File
dup
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic sun.net.www.ParseUtil.fileToEncodedURL:(Ljava/io/File;)Ljava/net/URL;
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 11: new java.net.URL
dup
ldc "file"
ldc ""
aload 4
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 2
end local 4 12: goto 19
13: StackMap locals:
StackMap stack:
new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 2
14: goto 19
StackMap locals:
StackMap stack: java.net.MalformedURLException
15: astore 4
start local 4 16: new sun.applet.Main$ParseException
dup
aload 0
ldc "main.err.badurl"
17: aload 1
aload 4
invokevirtual java.net.MalformedURLException.getMessage:()Ljava/lang/String;
18: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial sun.applet.Main$ParseException.<init>:(Lsun/applet/Main;Ljava/lang/String;)V
athrow
end local 4 19: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/applet/Main;
0 20 1 url Ljava/lang/String;
1 20 2 u Ljava/net/URL;
2 20 3 prefix Ljava/lang/String;
11 12 4 path Ljava/lang/String;
16 19 4 e Ljava/net/MalformedURLException;
Exception table:
from to target type
2 14 15 Class java.net.MalformedURLException
Exceptions:
throws sun.applet.Main$ParseException
MethodParameters:
Name Flags
url
private void init();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual sun.applet.Main.getAVProps:()Ljava/util/Properties;
astore 1
start local 1 1: aload 1
ldc "browser"
ldc "sun.applet.AppletViewer"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
ldc "browser.version"
ldc "1.06"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "browser.vendor"
ldc "Oracle Corporation"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
ldc "http.agent"
new java.lang.StringBuilder
dup
ldc "Java(tm) 2 SDK, Standard Edition v"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.applet.Main.theVersion:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 1
ldc "package.restrict.definition.java"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 1
ldc "package.restrict.definition.sun"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
ldc "java.version.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 1
ldc "java.vendor.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 1
ldc "java.vendor.url.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 1
ldc "java.class.version.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 1
ldc "os.name.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 1
ldc "os.version.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 1
ldc "os.arch.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 1
ldc "file.separator.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 1
ldc "path.separator.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 1
ldc "line.separator.applet"
ldc "true"
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
astore 2
start local 2 18: aload 2
invokevirtual java.util.Properties.propertyNames:()Ljava/util/Enumeration;
astore 3
start local 3 19: goto 27
20: StackMap locals: java.util.Properties java.util.Properties java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 21: aload 2
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 22: aload 1
aload 4
aload 5
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
dup
astore 6
start local 6 23: ifnull 27
24: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.warn.prop.overwrite"
aload 4
25: aload 6
aload 5
26: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 end local 5 end local 4 27: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 20
end local 3 28: aload 1
invokestatic java.lang.System.setProperties:(Ljava/util/Properties;)V
29: aload 0
getfield sun.applet.Main.noSecurityFlag:Z
ifne 32
30: new sun.applet.AppletSecurity
dup
invokespecial sun.applet.AppletSecurity.<init>:()V
invokestatic java.lang.System.setSecurityManager:(Ljava/lang/SecurityManager;)V
31: goto 33
32: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.nosecmgr"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
33: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/applet/Main;
1 34 1 avProps Ljava/util/Properties;
18 34 2 sysProps Ljava/util/Properties;
19 28 3 e Ljava/util/Enumeration<*>;
21 27 4 key Ljava/lang/String;
22 27 5 val Ljava/lang/String;
23 27 6 oldVal Ljava/lang/String;
private java.util.Properties getAVProps();
descriptor: ()Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: getstatic sun.applet.Main.theUserPropertiesFile:Ljava/io/File;
astore 2
start local 2 2: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 11
3: aload 2
invokevirtual java.io.File.canRead:()Z
ifeq 6
4: aload 0
aload 2
invokevirtual sun.applet.Main.getAVProps:(Ljava/io/File;)Ljava/util/Properties;
astore 1
5: goto 34
6: StackMap locals: java.util.Properties java.io.File
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.warn.cantreadprops"
7: aload 2
invokevirtual java.io.File.toString:()Ljava/lang/String;
8: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: aload 0
invokevirtual sun.applet.Main.setDefaultAVProps:()Ljava/util/Properties;
astore 1
10: goto 34
11: StackMap locals:
StackMap stack:
new java.io.File
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 12: new java.io.File
dup
aload 3
ldc ".hotjava"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 13: new java.io.File
dup
aload 4
ldc "properties"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
14: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 17
15: aload 0
aload 4
invokevirtual sun.applet.Main.getAVProps:(Ljava/io/File;)Ljava/util/Properties;
astore 1
16: goto 21
17: StackMap locals: java.io.File java.io.File
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.warn.cantreadprops"
18: aload 4
invokevirtual java.io.File.toString:()Ljava/lang/String;
19: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: aload 0
invokevirtual sun.applet.Main.setDefaultAVProps:()Ljava/util/Properties;
astore 1
21: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
22: new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 7
start local 7 23: aload 1
aload 7
ldc "main.prop.store"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.Properties.store:(Ljava/io/OutputStream;Ljava/lang/String;)V
24: aload 7
ifnull 34
aload 7
invokevirtual java.io.FileOutputStream.close:()V
goto 34
StackMap locals: sun.applet.Main java.util.Properties java.io.File java.io.File java.io.File java.lang.Throwable java.lang.Throwable java.io.FileOutputStream
StackMap stack: java.lang.Throwable
25: astore 5
aload 7
ifnull 26
aload 7
invokevirtual java.io.FileOutputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
26: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 6
aload 5
ifnonnull 28
aload 6
astore 5
goto 29
StackMap locals:
StackMap stack:
28: aload 5
aload 6
if_acmpeq 29
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
29: aload 5
athrow
StackMap locals: sun.applet.Main java.util.Properties java.io.File java.io.File java.io.File
StackMap stack: java.io.IOException
30: pop
31: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.prop.cantsave"
32: aload 2
invokevirtual java.io.File.toString:()Ljava/lang/String;
33: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 end local 3 34: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/applet/Main;
1 35 1 avProps Ljava/util/Properties;
2 35 2 dotAV Ljava/io/File;
12 34 3 userHome Ljava/io/File;
13 34 4 dotHJ Ljava/io/File;
23 26 7 out Ljava/io/FileOutputStream;
Exception table:
from to target type
23 24 25 any
22 27 27 any
21 30 30 Class java.io.IOException
private java.util.Properties setDefaultAVProps();
descriptor: ()Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.util.Properties int
StackMap stack:
aload 1
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 2
aaload
iconst_0
aaload
4: getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 2
aaload
iconst_1
aaload
5: invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
arraylength
if_icmplt 3
end local 2 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/applet/Main;
1 9 1 avProps Ljava/util/Properties;
2 8 2 i I
private java.util.Properties getAVProps(java.io.File);
descriptor: (Ljava/io/File;)Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 2
start local 2 1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 2: aconst_null
astore 4
aconst_null
astore 5
3: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 6
start local 6 4: aload 3
new java.io.BufferedInputStream
dup
aload 6
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
5: aload 6
ifnull 13
aload 6
invokevirtual java.io.FileInputStream.close:()V
goto 13
StackMap locals: sun.applet.Main java.io.File java.util.Properties java.util.Properties java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
6: astore 4
aload 6
ifnull 7
aload 6
invokevirtual java.io.FileInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
7: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
aload 4
ifnonnull 9
aload 5
astore 4
goto 10
StackMap locals:
StackMap stack:
9: aload 4
aload 5
if_acmpeq 10
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 4
athrow
StackMap locals: sun.applet.Main java.io.File java.util.Properties java.util.Properties
StackMap stack: java.io.IOException
11: pop
12: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.prop.cantread"
aload 1
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 14: goto 23
15: StackMap locals: int
StackMap stack:
aload 3
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 16: aload 5
ifnull 19
17: aload 2
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
aload 5
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
18: goto 22
19: StackMap locals: java.lang.String
StackMap stack:
aload 2
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
20: getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_1
aaload
21: invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 5 22: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
arraylength
if_icmplt 15
end local 4 24: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/applet/Main;
0 25 1 inFile Ljava/io/File;
1 25 2 avProps Ljava/util/Properties;
2 25 3 tmpProps Ljava/util/Properties;
4 7 6 in Ljava/io/FileInputStream;
14 24 4 i I
16 22 5 value Ljava/lang/String;
Exception table:
from to target type
4 5 6 any
3 8 8 any
2 11 11 Class java.io.IOException
MethodParameters:
Name Flags
inFile
private static java.lang.String lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.applet.Main.amh:Lsun/applet/AppletMessageHandler;
aload 0
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private static java.lang.String lookup(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.applet.Main.amh:Lsun/applet/AppletMessageHandler;
aload 0
aload 1
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 arg0 Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
private static java.lang.String lookup(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.applet.Main.amh:Lsun/applet/AppletMessageHandler;
aload 0
aload 1
aload 2
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 arg0 Ljava/lang/String;
0 1 2 arg1 Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
arg1
private static java.lang.String lookup(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic sun.applet.Main.amh:Lsun/applet/AppletMessageHandler;
aload 0
aload 1
aload 2
aload 3
invokevirtual sun.applet.AppletMessageHandler.getMessage:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 arg0 Ljava/lang/String;
0 1 2 arg1 Ljava/lang/String;
0 1 3 arg2 Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
arg1
arg2
}
SourceFile: "Main.java"
NestMembers:
sun.applet.Main$ParseException
InnerClasses:
ParseException = sun.applet.Main$ParseException of sun.applet.Main
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")