public final class java.lang.System
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.System
super_class: java.lang.Object
{
public static final java.io.InputStream in;
descriptor: Ljava/io/InputStream;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.io.PrintStream out;
descriptor: Ljava/io/PrintStream;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.io.PrintStream err;
descriptor: Ljava/io/PrintStream;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static volatile java.lang.SecurityManager security;
descriptor: Ljava/lang/SecurityManager;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.io.Console cons;
descriptor: Ljava/io/Console;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static java.util.Properties props;
descriptor: Ljava/util/Properties;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String lineSeparator;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static java.lang.ModuleLayer bootLayer;
descriptor: Ljava/lang/ModuleLayer;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.registerNatives:()V
1: aconst_null
putstatic java.lang.System.in:Ljava/io/InputStream;
2: aconst_null
putstatic java.lang.System.out:Ljava/io/PrintStream;
3: aconst_null
putstatic java.lang.System.err:Ljava/io/PrintStream;
4: return
LocalVariableTable:
Start End Slot Name Signature
private static native void registerNatives();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/System;
public static void setIn(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.checkIO:()V
1: aload 0
invokestatic java.lang.System.setIn0:(Ljava/io/InputStream;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
public static void setOut(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.checkIO:()V
1: aload 0
invokestatic java.lang.System.setOut0:(Ljava/io/PrintStream;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
out
public static void setErr(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.checkIO:()V
1: aload 0
invokestatic java.lang.System.setErr0:(Ljava/io/PrintStream;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 err Ljava/io/PrintStream;
MethodParameters:
Name Flags
err
public static java.io.Console console();
descriptor: ()Ljava/io/Console;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic java.lang.System.cons:Ljava/io/Console;
dup
astore 0
start local 0 1: ifnonnull 9
2: ldc Ljava/lang/System;
dup
astore 1
monitorenter
3: getstatic java.lang.System.cons:Ljava/io/Console;
dup
astore 0
ifnonnull 5
4: invokestatic jdk.internal.misc.SharedSecrets.getJavaIOAccess:()Ljdk/internal/misc/JavaIOAccess;
invokeinterface jdk.internal.misc.JavaIOAccess.console:()Ljava/io/Console;
dup
astore 0
putstatic java.lang.System.cons:Ljava/io/Console;
5: StackMap locals: java.io.Console java.lang.Class
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 c Ljava/io/Console;
Exception table:
from to target type
3 6 7 any
7 8 7 any
public static java.nio.channels.Channel inheritedChannel();
descriptor: ()Ljava/nio/channels/Channel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.nio.channels.spi.SelectorProvider.provider:()Ljava/nio/channels/spi/SelectorProvider;
invokevirtual java.nio.channels.spi.SelectorProvider.inheritedChannel:()Ljava/nio/channels/Channel;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
private static void checkIO();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
new java.lang.RuntimePermission
dup
ldc "setIO"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
private static native void setIn0(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
in
private static native void setOut0(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
out
private static native void setErr0(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
err
public static void setSecurityManager(java.lang.SecurityManager);
descriptor: (Ljava/lang/SecurityManager;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.security:Ljava/lang/SecurityManager;
ifnonnull 3
1: ldc Ljava/lang/Object;
ldc "java/lang/ANY"
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
pop
2: invokestatic sun.nio.fs.DefaultFileSystemProvider.theFileSystem:()Ljava/nio/file/FileSystem;
pop
3: StackMap locals:
StackMap stack:
aload 0
ifnull 7
4: aload 0
ldc "java.lang"
invokevirtual java.lang.SecurityManager.checkPackageAccess:(Ljava/lang/String;)V
5: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
6: pop
7: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.System.setSecurityManager0:(Ljava/lang/SecurityManager;)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 s Ljava/lang/SecurityManager;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
s final
private static synchronized void setSecurityManager0(java.lang.SecurityManager);
descriptor: (Ljava/lang/SecurityManager;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
new java.lang.RuntimePermission
dup
3: ldc "setSecurityManager"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
4: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
ifnull 7
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnull 7
6: new java.lang.System$1
dup
aload 0
invokespecial java.lang.System$1.<init>:(Ljava/lang/SecurityManager;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 0
putstatic java.lang.System.security:Ljava/lang/SecurityManager;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 s Ljava/lang/SecurityManager;
1 9 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
s final
public static java.lang.SecurityManager getSecurityManager();
descriptor: ()Ljava/lang/SecurityManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.System.security:Ljava/lang/SecurityManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static native long currentTimeMillis();
descriptor: ()J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
public static native long nanoTime();
descriptor: ()J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
public static native void arraycopy(java.lang.Object, int, java.lang.Object, int, int);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;II)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
src
srcPos
dest
destPos
length
public static native int identityHashCode(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
x
private static native java.util.Properties initProperties(java.util.Properties);
descriptor: (Ljava/util/Properties;)Ljava/util/Properties;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
props
public static java.util.Properties getProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
invokevirtual java.lang.SecurityManager.checkPropertiesAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.System.props:Ljava/util/Properties;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
public static java.lang.String lineSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.System.lineSeparator:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setProperties(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.SecurityManager.checkPropertiesAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
ifnonnull 9
4: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 0
5: aload 0
invokestatic java.lang.System.initProperties:(Ljava/util/Properties;)Ljava/util/Properties;
pop
6: aload 0
putstatic java.lang.System.props:Ljava/util/Properties;
7: invokestatic java.lang.VersionProps.init:()V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
putstatic java.lang.System.props:Ljava/util/Properties;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 props Ljava/util/Properties;
1 11 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
props
public static java.lang.String getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.checkKey:(Ljava/lang/String;)V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
aload 0
invokevirtual java.lang.SecurityManager.checkPropertyAccess:(Ljava/lang/String;)V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.System.props:Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
2 5 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
key
public static java.lang.String getProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.System.checkKey:(Ljava/lang/String;)V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
aload 0
invokevirtual java.lang.SecurityManager.checkPropertyAccess:(Ljava/lang/String;)V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.System.props:Ljava/util/Properties;
aload 0
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
0 5 1 def Ljava/lang/String;
2 5 2 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
key
def
public static java.lang.String setProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.System.checkKey:(Ljava/lang/String;)V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 2
new java.util.PropertyPermission
dup
aload 0
4: ldc "write"
invokespecial java.util.PropertyPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
5: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
6: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.System.props:Ljava/util/Properties;
aload 0
aload 1
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 key Ljava/lang/String;
0 7 1 value Ljava/lang/String;
2 7 2 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
key
value
public static java.lang.String clearProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.checkKey:(Ljava/lang/String;)V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
new java.util.PropertyPermission
dup
aload 0
ldc "write"
invokespecial java.util.PropertyPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.lang.System.props:Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
2 5 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
key
private static void checkKey(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "key can't be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "key can't be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public static java.lang.String getenv(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
new java.lang.RuntimePermission
dup
new java.lang.StringBuilder
dup
ldc "getenv."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic java.lang.ProcessEnvironment.getenv:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
name
public static java.util.Map<java.lang.String, java.lang.String> getenv();
descriptor: ()Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
new java.lang.RuntimePermission
dup
ldc "getenv.*"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic java.lang.ProcessEnvironment.getenv:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static java.lang.System$Logger getLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: new java.lang.IllegalCallerException
dup
ldc "no caller frame"
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokestatic jdk.internal.logger.LazyLoggers.getLogger:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
2 5 1 caller Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
name
public static java.lang.System$Logger getLogger(java.lang.String, java.util.ResourceBundle);
descriptor: (Ljava/lang/String;Ljava/util/ResourceBundle;)Ljava/lang/System$Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
astore 2
start local 2 1: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.IllegalCallerException
dup
ldc "no caller frame"
invokespecial java.lang.IllegalCallerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.util.ResourceBundle java.lang.Class
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 6: aload 4
ifnull 12
7: aload 0
aload 2
aload 3
invokedynamic run(Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Class;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
java/lang/System.lambda$0(Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Class;)Ljava/lang/System$Logger; (6)
()Ljava/lang/System$Logger;
8: astore 5
start local 5 9: aload 5
aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
10: getstatic java.lang.System$LoggerFinder.LOGGERFINDER_PERMISSION:Ljava/lang/RuntimePermission;
aastore
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.lang.System$Logger
areturn
end local 5 12: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic java.lang.System$LoggerFinder.accessProvider:()Ljava/lang/System$LoggerFinder;
13: aload 0
aload 2
aload 3
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.System$LoggerFinder.getLocalizedLogger:(Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Module;)Ljava/lang/System$Logger;
14: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 name Ljava/lang/String;
0 15 1 bundle Ljava/util/ResourceBundle;
1 15 2 rb Ljava/util/ResourceBundle;
3 15 3 caller Ljava/lang/Class<*>;
6 15 4 sm Ljava/lang/SecurityManager;
9 12 5 pa Ljava/security/PrivilegedAction<Ljava/lang/System$Logger;>;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
name
bundle
public static void exit(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
iload 0
invokevirtual java.lang.Runtime.exit:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 status I
MethodParameters:
Name Flags
status
public static void gc();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.gc:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void runFinalization();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.runFinalization:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void load(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Runtime.load0:(Ljava/lang/Class;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 filename Ljava/lang/String;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
filename
public static void loadLibrary(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokestatic jdk.internal.reflect.Reflection.getCallerClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Runtime.loadLibrary0:(Ljava/lang/Class;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 libname Ljava/lang/String;
RuntimeVisibleAnnotations:
jdk.internal.reflect.CallerSensitive()
MethodParameters:
Name Flags
libname
public static native java.lang.String mapLibraryName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
libname
private static java.io.PrintStream newPrintStream(java.io.FileOutputStream, java.lang.String);
descriptor: (Ljava/io/FileOutputStream;Ljava/lang/String;)Ljava/io/PrintStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: new java.io.PrintStream
dup
new java.io.BufferedOutputStream
dup
aload 0
sipush 128
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
iconst_1
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;ZLjava/lang/String;)V
2: areturn
3: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
4: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
new java.io.BufferedOutputStream
dup
aload 0
sipush 128
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 fos Ljava/io/FileOutputStream;
0 5 1 enc Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
fos
enc
private static void logInitException(boolean, boolean, java.lang.String, java.lang.Throwable);
descriptor: (ZZLjava/lang/String;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.internal.misc.VM.initLevel:()I
iconst_1
if_icmpge 2
1: new java.lang.InternalError
dup
ldc "system classes not initialized"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
ifeq 3
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 4
StackMap locals:
StackMap stack:
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
4: astore 4
start local 4 5: aload 2
ifnull 7
6: aload 4
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: StackMap locals: java.io.PrintStream
StackMap stack:
iload 1
ifeq 10
8: aload 3
aload 4
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
9: goto 19
10: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
11: aload 3
invokevirtual java.lang.Throwable.getSuppressed:()[Ljava/lang/Throwable;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: int int java.lang.String java.lang.Throwable java.io.PrintStream top int int java.lang.Throwable[]
StackMap stack:
12: aload 8
iload 6
aaload
astore 5
start local 5 13: aload 4
new java.lang.StringBuilder
dup
ldc "Suppressed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 12
16: aload 3
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 5
start local 5 17: aload 5
ifnull 19
18: aload 4
new java.lang.StringBuilder
dup
ldc "Caused by: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 19: StackMap locals: int int java.lang.String java.lang.Throwable java.io.PrintStream
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 printToStderr Z
0 20 1 printStackTrace Z
0 20 2 msg Ljava/lang/String;
0 20 3 e Ljava/lang/Throwable;
5 20 4 log Ljava/io/PrintStream;
13 14 5 suppressed Ljava/lang/Throwable;
17 19 5 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
printToStderr
printStackTrace
msg
e
private static void initPhase1();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=0
0: new java.util.Properties
dup
bipush 84
invokespecial java.util.Properties.<init>:(I)V
putstatic java.lang.System.props:Ljava/util/Properties;
1: getstatic java.lang.System.props:Ljava/util/Properties;
invokestatic java.lang.System.initProperties:(Ljava/util/Properties;)Ljava/util/Properties;
pop
2: getstatic java.lang.System.props:Ljava/util/Properties;
invokestatic jdk.internal.misc.VM.saveAndRemoveProperties:(Ljava/util/Properties;)V
3: getstatic java.lang.System.props:Ljava/util/Properties;
ldc "line.separator"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic java.lang.System.lineSeparator:Ljava/lang/String;
4: invokestatic jdk.internal.util.StaticProperty.javaHome:()Ljava/lang/String;
pop
5: invokestatic java.lang.VersionProps.init:()V
6: new java.io.FileInputStream
dup
getstatic java.io.FileDescriptor.in:Ljava/io/FileDescriptor;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/FileDescriptor;)V
astore 0
start local 0 7: new java.io.FileOutputStream
dup
getstatic java.io.FileDescriptor.out:Ljava/io/FileDescriptor;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/FileDescriptor;)V
astore 1
start local 1 8: new java.io.FileOutputStream
dup
getstatic java.io.FileDescriptor.err:Ljava/io/FileDescriptor;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/FileDescriptor;)V
astore 2
start local 2 9: new java.io.BufferedInputStream
dup
aload 0
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokestatic java.lang.System.setIn0:(Ljava/io/InputStream;)V
10: aload 1
getstatic java.lang.System.props:Ljava/util/Properties;
ldc "sun.stdout.encoding"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.newPrintStream:(Ljava/io/FileOutputStream;Ljava/lang/String;)Ljava/io/PrintStream;
invokestatic java.lang.System.setOut0:(Ljava/io/PrintStream;)V
11: aload 2
getstatic java.lang.System.props:Ljava/util/Properties;
ldc "sun.stderr.encoding"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.newPrintStream:(Ljava/io/FileOutputStream;Ljava/lang/String;)Ljava/io/PrintStream;
invokestatic java.lang.System.setErr0:(Ljava/io/PrintStream;)V
12: invokestatic java.lang.Terminator.setup:()V
13: invokestatic jdk.internal.misc.VM.initializeOSEnvironment:()V
14: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 3
start local 3 15: aload 3
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
aload 3
invokevirtual java.lang.ThreadGroup.add:(Ljava/lang/Thread;)V
16: invokestatic java.lang.System.setJavaLangAccess:()V
17: invokestatic java.lang.ClassLoader.initLibraryPaths:()V
18: iconst_1
invokestatic jdk.internal.misc.VM.initLevel:(I)V
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
7 20 0 fdIn Ljava/io/FileInputStream;
8 20 1 fdOut Ljava/io/FileOutputStream;
9 20 2 fdErr Ljava/io/FileOutputStream;
15 20 3 current Ljava/lang/Thread;
private static int initPhase2(boolean, boolean);
descriptor: (ZZ)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.module.ModuleBootstrap.boot:()Ljava/lang/ModuleLayer;
putstatic java.lang.System.bootLayer:Ljava/lang/ModuleLayer;
1: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: iload 0
iload 1
4: ldc "Error occurred during initialization of boot layer"
aload 2
5: invokestatic java.lang.System.logInitException:(ZZLjava/lang/String;Ljava/lang/Throwable;)V
6: iconst_m1
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_2
invokestatic jdk.internal.misc.VM.initLevel:(I)V
8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 printToStderr Z
0 9 1 printStackTrace Z
3 7 2 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
0 1 2 Class java.lang.Error
MethodParameters:
Name Flags
printToStderr
printStackTrace
private static void initPhase3();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: ldc "java.security.manager"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 17
2: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
ldc "default"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.SecurityManager
dup
invokespecial java.lang.SecurityManager.<init>:()V
invokestatic java.lang.System.setSecurityManager:(Ljava/lang/SecurityManager;)V
4: goto 17
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokestatic java.lang.ClassLoader.getBuiltinAppClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 1
start local 1 6: aload 1
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 7: ldc Ljava/lang/SecurityManager;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 10
8: aload 1
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 10
9: aload 2
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 11
10: StackMap locals: java.lang.Class java.lang.reflect.Constructor
StackMap stack:
new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "Could not create SecurityManager: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.reflect.Constructor.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
12: aload 2
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.SecurityManager
astore 3
start local 3 13: aload 3
invokestatic java.lang.System.setSecurityManager:(Ljava/lang/SecurityManager;)V
end local 3 end local 2 end local 1 14: goto 17
StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
15: astore 1
start local 1 16: new java.lang.Error
dup
ldc "Could not create SecurityManager"
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 17: StackMap locals:
StackMap stack:
iconst_3
invokestatic jdk.internal.misc.VM.initLevel:(I)V
18: invokestatic java.lang.ClassLoader.initSystemClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 19: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 1
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
20: iconst_4
invokestatic jdk.internal.misc.VM.initLevel:(I)V
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 22 0 cn Ljava/lang/String;
6 14 1 c Ljava/lang/Class<*>;
7 14 2 ctor Ljava/lang/reflect/Constructor<*>;
13 14 3 sm Ljava/lang/SecurityManager;
16 17 1 e Ljava/lang/Exception;
19 22 1 scl Ljava/lang/ClassLoader;
Exception table:
from to target type
5 14 15 Class java.lang.Exception
private static void setJavaLangAccess();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.System$2
dup
invokespecial java.lang.System$2.<init>:()V
invokestatic jdk.internal.misc.SharedSecrets.setJavaLangAccess:(Ljdk/internal/misc/JavaLangAccess;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.System$Logger lambda$0(java.lang.String, java.util.ResourceBundle, java.lang.Class);
descriptor: (Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Class;)Ljava/lang/System$Logger;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
0: invokestatic java.lang.System$LoggerFinder.accessProvider:()Ljava/lang/System$LoggerFinder;
1: aload 0
aload 1
aload 2
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.System$LoggerFinder.getLocalizedLogger:(Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Module;)Ljava/lang/System$Logger;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "System.java"
NestMembers:
java.lang.System$1 java.lang.System$2 java.lang.System$Logger java.lang.System$Logger$Level java.lang.System$LoggerFinder
InnerClasses:
java.lang.System$1
java.lang.System$2
public abstract Logger = java.lang.System$Logger of java.lang.System
public abstract LoggerFinder = java.lang.System$LoggerFinder of java.lang.System
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles