public class org.graalvm.compiler.test.SubprocessUtil$Subprocess
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.test.SubprocessUtil$Subprocess
super_class: java.lang.Object
{
public final java.util.List<java.lang.String> command;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
public final int exitCode;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.List<java.lang.String> output;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.Map<java.lang.String, java.lang.String> env;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static final java.lang.String DASHES_DELIMITER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-------------------------------------------------------"
public void <init>(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.String>, int, java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;Ljava/util/Map;ILjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.command:Ljava/util/List;
2: aload 0
aload 2
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.env:Ljava/util/Map;
3: aload 0
iload 3
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.exitCode:I
4: aload 0
aload 4
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.output:Ljava/util/List;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
0 6 1 command Ljava/util/List<Ljava/lang/String;>;
0 6 2 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 3 exitCode I
0 6 4 output Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;ILjava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
command
env
exitCode
output
public java.lang.String toString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Formatter
dup
invokespecial java.util.Formatter.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
3: StackMap locals: java.util.Formatter
StackMap stack:
aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.env:Ljava/util/Map;
ifnull 10
aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.env:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 10
4: aload 2
ldc "env"
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
5: aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.env:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 7: aload 2
ldc " %s=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aastore
dup
iconst_1
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.compiler.test.SubprocessUtil.quoteShellArg:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 2
ldc "\\%n"
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
10: StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter
StackMap stack:
aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.command:Ljava/util/List;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
org/graalvm/compiler/test/SubprocessUtil$Subprocess.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
ldc " "
invokestatic org.graalvm.util.CollectionsUtil.mapAndJoin:(Ljava/lang/Iterable;Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
11: aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.output:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter top java.util.Iterator
StackMap stack:
12: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 13: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 1
ifnull 17
16: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
17: StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter
StackMap stack:
aload 2
invokevirtual java.util.Formatter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
0 18 1 delimiter Ljava/lang/String;
1 18 2 msg Ljava/util/Formatter;
7 8 3 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
13 14 3 line Ljava/lang/String;
MethodParameters:
Name Flags
delimiter
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "-------------------------------------------------------"
invokevirtual org.graalvm.compiler.test.SubprocessUtil$Subprocess.toString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.graalvm.compiler.test.SubprocessUtil.quoteShellArg:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/String;
}
SourceFile: "SubprocessUtil.java"
NestHost: org.graalvm.compiler.test.SubprocessUtil
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public Subprocess = org.graalvm.compiler.test.SubprocessUtil$Subprocess of org.graalvm.compiler.test.SubprocessUtil