public class sun.misc.Launcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.misc.Launcher
super_class: java.lang.Object
{
private static java.net.URLStreamHandlerFactory factory;
descriptor: Ljava/net/URLStreamHandlerFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.misc.Launcher launcher;
descriptor: Lsun/misc/Launcher;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String bootClassPath;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.ClassLoader loader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
private static java.net.URLStreamHandler fileHandler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.misc.Launcher$Factory
dup
invokespecial sun.misc.Launcher$Factory.<init>:()V
putstatic sun.misc.Launcher.factory:Ljava/net/URLStreamHandlerFactory;
1: new sun.misc.Launcher
dup
invokespecial sun.misc.Launcher.<init>:()V
putstatic sun.misc.Launcher.launcher:Lsun/misc/Launcher;
2: ldc "sun.boot.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
3: putstatic sun.misc.Launcher.bootClassPath:Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static sun.misc.Launcher getLauncher();
descriptor: ()Lsun/misc/Launcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.misc.Launcher.launcher:Lsun/misc/Launcher;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic sun.misc.Launcher$ExtClassLoader.getExtClassLoader:()Lsun/misc/Launcher$ExtClassLoader;
astore 1
start local 1 2: goto 7
end local 1 StackMap locals: sun.misc.Launcher
StackMap stack: java.io.IOException
3: astore 2
start local 2 4: new java.lang.InternalError
dup
5: ldc "Could not create extension class loader"
aload 2
6: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 7: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
aload 1
invokestatic sun.misc.Launcher$AppClassLoader.getAppClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
putfield sun.misc.Launcher.loader:Ljava/lang/ClassLoader;
8: goto 13
StackMap locals:
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: new java.lang.InternalError
dup
11: ldc "Could not create application class loader"
aload 2
12: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield sun.misc.Launcher.loader:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
14: ldc "java.security.manager"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 15: aload 2
ifnull 33
16: invokestatic sun.nio.fs.DefaultFileSystemProvider.create:()Ljava/nio/file/spi/FileSystemProvider;
pop
17: aconst_null
astore 3
start local 3 18: ldc ""
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
ldc "default"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: StackMap locals: java.lang.String java.lang.SecurityManager
StackMap stack:
new java.lang.SecurityManager
dup
invokespecial java.lang.SecurityManager.<init>:()V
astore 3
20: goto 27
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.Launcher.loader:Ljava/lang/ClassLoader;
aload 2
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.lang.SecurityManager
astore 3
22: goto 27
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
23: pop
goto 27
24: StackMap locals:
StackMap stack: java.lang.InstantiationException
pop
goto 27
25: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
goto 27
26: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
27: StackMap locals:
StackMap stack:
aload 3
ifnull 30
28: aload 3
invokestatic java.lang.System.setSecurityManager:(Ljava/lang/SecurityManager;)V
29: goto 33
30: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
31: new java.lang.StringBuilder
dup
ldc "Could not create SecurityManager: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 3 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/misc/Launcher;
2 3 1 extcl Ljava/lang/ClassLoader;
7 34 1 extcl Ljava/lang/ClassLoader;
4 7 2 e Ljava/io/IOException;
10 13 2 e Ljava/io/IOException;
15 34 2 s Ljava/lang/String;
18 33 3 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
1 2 3 Class java.io.IOException
7 8 9 Class java.io.IOException
21 22 23 Class java.lang.IllegalAccessException
21 22 24 Class java.lang.InstantiationException
21 22 25 Class java.lang.ClassNotFoundException
21 22 26 Class java.lang.ClassCastException
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.misc.Launcher.loader:Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/misc/Launcher;
public static sun.misc.URLClassPath getBootstrapClassPath();
descriptor: ()Lsun/misc/URLClassPath;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.misc.Launcher$BootClassPathHolder.bcp:Lsun/misc/URLClassPath;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.net.URL[] pathToURLs(java.io.File[]);
descriptor: ([Ljava/io/File;)[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.net.URL
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.net.URL[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
aaload
invokestatic sun.misc.Launcher.getFileURL:(Ljava/io/File;)Ljava/net/URL;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path [Ljava/io/File;
1 7 1 urls [Ljava/net/URL;
2 6 2 i I
MethodParameters:
Name Flags
path
private static java.io.File[] getClassPath(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/io/File;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: aload 0
ifnull 27
1: iconst_0
istore 2
start local 2 2: iconst_1
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: java.lang.String top int int int int
StackMap stack:
iinc 3 1
7: iload 4
iconst_1
iadd
istore 5
8: StackMap locals:
StackMap stack:
aload 0
getstatic java.io.File.pathSeparator:Ljava/lang/String;
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 4
iconst_m1
if_icmpne 6
9: iload 3
anewarray java.io.File
astore 1
start local 1 10: iconst_0
dup
istore 4
istore 5
11: goto 17
12: StackMap locals: java.lang.String java.io.File[] int int int int
StackMap stack:
iload 4
iload 5
isub
ifle 15
13: aload 1
iload 2
iinc 2 1
new java.io.File
dup
aload 0
iload 5
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
14: goto 16
15: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
new java.io.File
dup
ldc "."
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
16: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
istore 5
17: StackMap locals:
StackMap stack:
aload 0
getstatic java.io.File.pathSeparator:Ljava/lang/String;
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 4
iconst_m1
if_icmpne 12
18: iload 5
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 21
19: aload 1
iload 2
iinc 2 1
new java.io.File
dup
aload 0
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
20: goto 22
21: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
new java.io.File
dup
ldc "."
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
22: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmpeq 28
23: iload 2
anewarray java.io.File
astore 6
start local 6 24: aload 1
iconst_0
aload 6
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: aload 6
astore 1
end local 6 end local 5 end local 4 end local 3 end local 2 26: goto 28
end local 1 27: StackMap locals: java.lang.String
StackMap stack:
iconst_0
anewarray java.io.File
astore 1
start local 1 28: StackMap locals: java.io.File[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 cp Ljava/lang/String;
10 27 1 path [Ljava/io/File;
28 29 1 path [Ljava/io/File;
2 26 2 count I
3 26 3 maxCount I
4 26 4 pos I
5 26 5 lastPos I
24 26 6 tmp [Ljava/io/File;
MethodParameters:
Name Flags
cp
static java.net.URL getFileURL(java.io.File);
descriptor: (Ljava/io/File;)Ljava/net/URL;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 0
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.net.www.ParseUtil.fileToEncodedURL:(Ljava/io/File;)Ljava/net/URL;
4: areturn
5: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 1
start local 1 6: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 file Ljava/io/File;
6 7 1 e Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
3 4 5 Class java.net.MalformedURLException
MethodParameters:
Name Flags
file
}
SourceFile: "Launcher.java"
NestMembers:
sun.misc.Launcher$AppClassLoader sun.misc.Launcher$AppClassLoader$1 sun.misc.Launcher$BootClassPathHolder sun.misc.Launcher$BootClassPathHolder$1 sun.misc.Launcher$ExtClassLoader sun.misc.Launcher$ExtClassLoader$1 sun.misc.Launcher$Factory
InnerClasses:
AppClassLoader = sun.misc.Launcher$AppClassLoader of sun.misc.Launcher
private BootClassPathHolder = sun.misc.Launcher$BootClassPathHolder of sun.misc.Launcher
ExtClassLoader = sun.misc.Launcher$ExtClassLoader of sun.misc.Launcher
private Factory = sun.misc.Launcher$Factory of sun.misc.Launcher