public class sun.jvm.hotspot.SALauncherLoader extends java.net.URLClassLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.SALauncherLoader
super_class: java.net.URLClassLoader
{
private java.lang.String[] libpaths;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public java.lang.String findLibrary(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.System.mapLibraryName:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int
StackMap stack:
new java.io.File
dup
new java.io.File
dup
aload 0
getfield sun.jvm.hotspot.SALauncherLoader.libpaths:[Ljava/lang/String;
iload 2
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aload 1
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 4: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 6
5: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
areturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield sun.jvm.hotspot.SALauncherLoader.libpaths:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 2 8: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/SALauncherLoader;
0 9 1 name Ljava/lang/String;
2 8 2 i I
4 6 3 file Ljava/io/File;
MethodParameters:
Name Flags
name
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.jvm.hotspot.SALauncherLoader.getClassPath:()[Ljava/net/URL;
aload 1
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
1: ldc "sa.library.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 0
aload 2
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
putfield sun.jvm.hotspot.SALauncherLoader.libpaths:[Ljava/lang/String;
4: goto 6
5: StackMap locals: sun.jvm.hotspot.SALauncherLoader java.lang.ClassLoader java.lang.String
StackMap stack:
aload 0
iconst_0
anewarray java.lang.String
putfield sun.jvm.hotspot.SALauncherLoader.libpaths:[Ljava/lang/String;
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/SALauncherLoader;
0 7 1 parent Ljava/lang/ClassLoader;
2 7 2 salibpath Ljava/lang/String;
MethodParameters:
Name Flags
parent
public synchronized java.lang.Class loadClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpeq 5
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkPackageAccess:(Ljava/lang/String;)V
end local 4 5: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.SALauncherLoader.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 6: aload 4
ifnull 7
aload 4
areturn
7: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.SALauncherLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
8: areturn
9: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
10: aload 0
aload 1
iload 2
invokespecial java.net.URLClassLoader.loadClass:(Ljava/lang/String;Z)Ljava/lang/Class;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/SALauncherLoader;
0 11 1 name Ljava/lang/String;
0 11 2 resolve Z
1 11 3 i I
3 5 4 sm Ljava/lang/SecurityManager;
6 11 4 clazz Ljava/lang/Class;
Exception table:
from to target type
7 8 9 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
resolve
protected java.security.PermissionCollection getPermissions(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.net.URLClassLoader.getPermissions:(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
astore 2
start local 2 1: aload 2
new java.lang.RuntimePermission
dup
ldc "exitVM"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.security.PermissionCollection.add:(Ljava/security/Permission;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/SALauncherLoader;
0 3 1 codesource Ljava/security/CodeSource;
1 3 2 perms Ljava/security/PermissionCollection;
MethodParameters:
Name Flags
codesource
private static java.net.URL[] getClassPath();
descriptor: ()[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=0
0: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 2
iconst_0
anewarray java.io.File
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 0
invokestatic sun.jvm.hotspot.SALauncherLoader.getClassPath:(Ljava/lang/String;)[Ljava/io/File;
StackMap locals:
StackMap stack: java.io.File[]
3: astore 1
start local 1 4: aload 1
invokestatic sun.jvm.hotspot.SALauncherLoader.pathToURLs:([Ljava/io/File;)[Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 s Ljava/lang/String;
4 5 1 path [Ljava/io/File;
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.jvm.hotspot.SALauncherLoader.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=6, locals=4, args_size=1
start local 0 0: aload 0
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
arraylength
anewarray java.io.File
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: java.lang.String[] java.io.File[] int
StackMap stack:
aload 2
iload 3
5: new java.io.File
dup
aload 1
iload 3
aaload
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
ldc "."
goto 7
StackMap locals: java.lang.String java.lang.String[] java.io.File[] int
StackMap stack: java.io.File[] int new 5 new 5
6: aload 1
iload 3
aaload
StackMap locals: java.lang.String java.lang.String[] java.io.File[] int
StackMap stack: java.io.File[] int new 5 new 5 java.lang.String
7: invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cp Ljava/lang/String;
1 11 1 tmp [Ljava/lang/String;
2 11 2 paths [Ljava/io/File;
3 10 3 i I
MethodParameters:
Name Flags
cp
private static java.net.URL getFileURL(java.io.File);
descriptor: (Ljava/io/File;)Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, 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 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: aload 1
invokevirtual java.io.IOException.printStackTrace:()V
end local 1 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
5: areturn
6: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 1
start local 1 7: new java.lang.InternalError
dup
aload 1
invokevirtual java.net.MalformedURLException.getMessage:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 file Ljava/io/File;
3 4 1 e Ljava/io/IOException;
7 8 1 mue Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
4 5 6 Class java.net.MalformedURLException
MethodParameters:
Name Flags
file
}
SourceFile: "SALauncherLoader.java"