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 debugFlag;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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 urlList;
descriptor: Ljava/util/Vector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.debugFlag:Z
2: aload 0
iconst_0
putfield sun.applet.Main.helpFlag:Z
3: aload 0
aconst_null
putfield sun.applet.Main.encoding:Ljava/lang/String;
4: aload 0
iconst_0
putfield sun.applet.Main.noSecurityFlag:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 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: aload 1
arraylength
ifne 3
1: invokestatic sun.applet.Main.usage:()V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: goto 11
5: 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 6: iload 3
ifne 10
7: new sun.applet.Main$ParseException
dup
aload 0
ldc "main.err.unrecognizedarg"
8: aload 1
iload 2
aaload
9: 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
10: StackMap locals: int
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 11: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 5
end local 2 12: goto 16
StackMap locals: sun.applet.Main java.lang.String[]
StackMap stack: sun.applet.Main$ParseException
13: astore 2
start local 2 14: 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
15: iconst_1
ireturn
end local 2 16: StackMap locals:
StackMap stack:
aload 0
getfield sun.applet.Main.helpFlag:Z
ifeq 19
17: invokestatic sun.applet.Main.usage:()V
18: iconst_0
ireturn
19: StackMap locals:
StackMap stack:
getstatic sun.applet.Main.urlList:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 22
20: 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
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.applet.Main.debugFlag:Z
ifeq 24
23: aload 0
aload 1
invokevirtual sun.applet.Main.invokeDebugger:([Ljava/lang/String;)I
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;
4 12 2 i I
6 11 3 j I
14 16 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 2 13 Class sun.applet.Main$ParseException
3 12 13 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 "-debug"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
iconst_1
putfield sun.applet.Main.debugFlag:Z
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
ldc "-Xnosecurity"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
14: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
15: 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
16: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
17: aload 0
iconst_1
putfield sun.applet.Main.noSecurityFlag:Z
18: iconst_1
ireturn
19: StackMap locals:
StackMap stack:
ldc "-XcmdLineTest"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: iconst_1
putstatic sun.applet.Main.cmdLineTestFlag:Z
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
23: 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
24: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual sun.applet.Main.parseURL:(Ljava/lang/String;)Ljava/net/URL;
astore 5
start local 5 25: aload 5
ifnull 28
26: getstatic sun.applet.Main.urlList:Ljava/util/Vector;
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
27: iconst_1
ireturn
end local 5 28: 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 29 0 this Lsun/applet/Main;
0 29 1 args [Ljava/lang/String;
0 29 2 i I
1 29 3 arg Ljava/lang/String;
2 29 4 argc I
25 28 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 int invokeDebugger(java.lang.String[]);
descriptor: ([Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
iadd
anewarray java.lang.String
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: new java.lang.StringBuilder
dup
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "phony"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: aload 2
iload 3
iinc 3 1
new java.lang.StringBuilder
dup
ldc "-Djava.class.path="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
6: aload 2
iload 3
iinc 3 1
ldc "sun.applet.Main"
aastore
7: iconst_0
istore 5
start local 5 8: goto 12
9: StackMap locals: sun.applet.Main java.lang.String[] java.lang.String[] int java.lang.String int
StackMap stack:
ldc "-debug"
aload 1
iload 5
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: aload 2
iload 3
iinc 3 1
aload 1
iload 5
aaload
aastore
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 1
arraylength
if_icmplt 9
end local 5 13: ldc "com.sun.tools.example.debug.tty.TTY"
iconst_1
14: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
15: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
start local 5 16: aload 5
ldc "main"
17: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc [Ljava/lang/String;
aastore
18: invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 6
start local 6 19: aload 6
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 20: goto 33
StackMap locals: sun.applet.Main java.lang.String[] java.lang.String[] int java.lang.String
StackMap stack: java.lang.ClassNotFoundException
21: pop
22: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.debug.cantfinddebug"
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: java.lang.NoSuchMethodException
pop
25: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.debug.cantfindmain"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: iconst_1
ireturn
27: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
pop
28: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.debug.exceptionindebug"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
29: iconst_1
ireturn
30: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
31: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.debug.cantaccess"
invokestatic sun.applet.Main.lookup:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
32: iconst_1
ireturn
33: 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 34 0 this Lsun/applet/Main;
0 34 1 args [Ljava/lang/String;
1 34 2 newArgs [Ljava/lang/String;
2 34 3 current I
5 34 4 phonyDir Ljava/lang/String;
8 13 5 i I
16 20 5 c Ljava/lang/Class;
19 20 6 m Ljava/lang/reflect/Method;
Exception table:
from to target type
13 20 21 Class java.lang.ClassNotFoundException
13 20 24 Class java.lang.NoSuchMethodException
13 20 27 Class java.lang.reflect.InvocationTargetException
13 20 30 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
args
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 "Sun Microsystems Inc."
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=6, 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 29
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 29
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:
new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 22: aload 1
aload 5
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
23: aload 5
invokevirtual java.io.FileOutputStream.close:()V
end local 5 24: goto 29
StackMap locals:
StackMap stack: java.io.IOException
25: pop
26: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.prop.cantsave"
27: aload 2
invokevirtual java.io.File.toString:()Ljava/lang/String;
28: 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 29: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/applet/Main;
1 30 1 avProps Ljava/util/Properties;
2 30 2 dotAV Ljava/io/File;
12 29 3 userHome Ljava/io/File;
13 29 4 dotHJ Ljava/io/File;
22 24 5 out Ljava/io/FileOutputStream;
Exception table:
from to target type
21 24 25 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=6, 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: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 4
start local 4 3: aload 3
new java.io.BufferedInputStream
dup
aload 4
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: aload 4
invokevirtual java.io.FileInputStream.close:()V
end local 4 5: goto 10
StackMap locals: sun.applet.Main java.io.File java.util.Properties java.util.Properties
StackMap stack: java.io.IOException
6: pop
7: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "main.err.prop.cantread"
8: aload 1
invokevirtual java.io.File.toString:()Ljava/lang/String;
9: invokestatic sun.applet.Main.lookup:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 11: goto 20
12: 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 13: aload 5
ifnull 16
14: 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
15: goto 19
16: StackMap locals: java.lang.String
StackMap stack:
aload 2
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
17: getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
iload 4
aaload
iconst_1
aaload
18: invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 5 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
getstatic sun.applet.Main.avDefaultUserProps:[[Ljava/lang/String;
arraylength
if_icmplt 12
end local 4 21: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/applet/Main;
0 22 1 inFile Ljava/io/File;
1 22 2 avProps Ljava/util/Properties;
2 22 3 tmpProps Ljava/util/Properties;
3 5 4 in Ljava/io/FileInputStream;
11 21 4 i I
13 19 5 value Ljava/lang/String;
Exception table:
from to target type
2 5 6 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