final class java.lang.ProcessEnvironment
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: java.lang.ProcessEnvironment
super_class: java.lang.Object
{
private static final java.util.HashMap<java.lang.ProcessEnvironment$Variable, java.lang.ProcessEnvironment$Value> theEnvironment;
descriptor: Ljava/util/HashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/ProcessEnvironment$Variable;Ljava/lang/ProcessEnvironment$Value;>;
private static final java.util.Map<java.lang.String, java.lang.String> theUnmodifiableEnvironment;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static final int MIN_NAME_LENGTH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokestatic java.lang.ProcessEnvironment.environ:()[[B
astore 0
start local 0 1: new java.util.HashMap
dup
aload 0
arraylength
iconst_2
idiv
iconst_3
iadd
invokespecial java.util.HashMap.<init>:(I)V
putstatic java.lang.ProcessEnvironment.theEnvironment:Ljava/util/HashMap;
2: aload 0
arraylength
iconst_1
isub
istore 1
start local 1 3: goto 8
4: StackMap locals: byte[][] int
StackMap stack:
getstatic java.lang.ProcessEnvironment.theEnvironment:Ljava/util/HashMap;
aload 0
iload 1
iconst_1
isub
aaload
invokestatic java.lang.ProcessEnvironment$Variable.valueOf:([B)Ljava/lang/ProcessEnvironment$Variable;
5: aload 0
iload 1
aaload
invokestatic java.lang.ProcessEnvironment$Value.valueOf:([B)Ljava/lang/ProcessEnvironment$Value;
6: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iinc 1 -2
StackMap locals:
StackMap stack:
8: iload 1
ifgt 4
end local 1 9: new java.lang.ProcessEnvironment$StringEnvironment
dup
getstatic java.lang.ProcessEnvironment.theEnvironment:Ljava/util/HashMap;
invokespecial java.lang.ProcessEnvironment$StringEnvironment.<init>:(Ljava/util/Map;)V
10: invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
11: putstatic java.lang.ProcessEnvironment.theUnmodifiableEnvironment:Ljava/util/Map;
end local 0 12: return
LocalVariableTable:
Start End Slot Name Signature
1 12 0 environ [[B
3 9 1 i I
static java.lang.String getenv(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.ProcessEnvironment.theUnmodifiableEnvironment:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
static java.util.Map<java.lang.String, java.lang.String> getenv();
descriptor: ()Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.ProcessEnvironment.theUnmodifiableEnvironment:Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static java.util.Map<java.lang.String, java.lang.String> environment();
descriptor: ()Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.ProcessEnvironment$StringEnvironment
dup
1: getstatic java.lang.ProcessEnvironment.theEnvironment:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clone:()Ljava/lang/Object;
checkcast java.util.Map
2: invokespecial java.lang.ProcessEnvironment$StringEnvironment.<init>:(Ljava/util/Map;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static java.util.Map<java.lang.String, java.lang.String> emptyEnvironment(int);
descriptor: (I)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.ProcessEnvironment$StringEnvironment
dup
new java.util.HashMap
dup
iload 0
invokespecial java.util.HashMap.<init>:(I)V
invokespecial java.lang.ProcessEnvironment$StringEnvironment.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 capacity I
Signature: (I)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
capacity
private static native byte[][] environ();
descriptor: ()[[B
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/ProcessEnvironment;
private static void validateVariable(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 2
1: aload 0
iconst_0
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 5
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
3: new java.lang.StringBuilder
dup
ldc "Invalid environment variable name: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static void validateValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "Invalid environment variable value: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: 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 value Ljava/lang/String;
MethodParameters:
Name Flags
value
static byte[] toEnvironmentBlock(java.util.Map<java.lang.String, java.lang.String>, );
descriptor: (Ljava/util/Map;[I)[B
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aconst_null
goto 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.ProcessEnvironment$StringEnvironment
aload 1
invokevirtual java.lang.ProcessEnvironment$StringEnvironment.toEnvironmentBlock:([I)[B
2: StackMap locals:
StackMap stack: byte[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 3 1 envc [I
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;[I)[B
MethodParameters:
Name Flags
map
envc
private static int arrayCompare(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
if_icmpge 1
aload 0
arraylength
goto 2
StackMap locals:
StackMap stack:
1: aload 1
arraylength
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
iload 3
baload
aload 1
iload 3
baload
if_icmpeq 7
6: aload 0
iload 3
baload
aload 1
iload 3
baload
isub
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 5
end local 3 9: aload 0
arraylength
aload 1
arraylength
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 x [B
0 10 1 y [B
3 10 2 min I
4 9 3 i I
MethodParameters:
Name Flags
x
y
private static boolean arrayEquals(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
iload 2
baload
aload 1
iload 2
baload
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
arraylength
if_icmplt 4
end local 2 8: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 x [B
0 9 1 y [B
3 8 2 i I
MethodParameters:
Name Flags
x
y
private static int arrayHash(byte[]);
descriptor: ([B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
bipush 31
iload 1
imul
aload 0
iload 2
baload
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 x [B
1 7 1 hash I
2 6 2 i I
MethodParameters:
Name Flags
x
}
SourceFile: "ProcessEnvironment.java"
NestMembers:
java.lang.ProcessEnvironment$ExternalData java.lang.ProcessEnvironment$StringEntry java.lang.ProcessEnvironment$StringEntrySet java.lang.ProcessEnvironment$StringEntrySet$1 java.lang.ProcessEnvironment$StringEntrySet$2 java.lang.ProcessEnvironment$StringEnvironment java.lang.ProcessEnvironment$StringKeySet java.lang.ProcessEnvironment$StringKeySet$1 java.lang.ProcessEnvironment$StringValues java.lang.ProcessEnvironment$StringValues$1 java.lang.ProcessEnvironment$Value java.lang.ProcessEnvironment$Variable
InnerClasses:
private abstract ExternalData = java.lang.ProcessEnvironment$ExternalData of java.lang.ProcessEnvironment
private StringEntry = java.lang.ProcessEnvironment$StringEntry of java.lang.ProcessEnvironment
private StringEntrySet = java.lang.ProcessEnvironment$StringEntrySet of java.lang.ProcessEnvironment
private StringEnvironment = java.lang.ProcessEnvironment$StringEnvironment of java.lang.ProcessEnvironment
private StringKeySet = java.lang.ProcessEnvironment$StringKeySet of java.lang.ProcessEnvironment
private StringValues = java.lang.ProcessEnvironment$StringValues of java.lang.ProcessEnvironment
private Value = java.lang.ProcessEnvironment$Value of java.lang.ProcessEnvironment
private Variable = java.lang.ProcessEnvironment$Variable of java.lang.ProcessEnvironment