public abstract class java.lang.Process
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.lang.Process
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/Process;
public abstract java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.InputStream getErrorStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int waitFor();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.InterruptedException
public boolean waitFor(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 3 0: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 4
start local 4 1: aload 0
invokevirtual java.lang.Process.hasExited:()Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: long
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lload 4
ladd
lstore 6
start local 6 6: StackMap locals: long
StackMap stack:
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 4
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lconst_1
ladd
ldc 100
invokestatic java.lang.Math.min:(JJ)J
invokestatic java.lang.Thread.sleep:(J)V
7: aload 0
invokevirtual java.lang.Process.hasExited:()Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
lload 6
invokestatic java.lang.System.nanoTime:()J
lsub
lstore 4
10: lload 4
lconst_0
11: lcmp
ifgt 6
12: iconst_0
ireturn
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/lang/Process;
0 13 1 timeout J
0 13 3 unit Ljava/util/concurrent/TimeUnit;
1 13 4 remainingNanos J
6 13 6 deadline J
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
public abstract int exitValue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void destroy();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.Process destroyForcibly();
descriptor: ()Ljava/lang/Process;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.destroy:()V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Process;
public boolean supportsNormalTermination();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc ".supportsNormalTermination() not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Process;
public boolean isAlive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.hasExited:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Process;
private boolean hasExited();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.exitValue:()I
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.IllegalThreadStateException
pop
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/Process;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalThreadStateException
public long pid();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.toHandle:()Ljava/lang/ProcessHandle;
invokeinterface java.lang.ProcessHandle.pid:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Process;
public java.util.concurrent.CompletableFuture<java.lang.Process> onExit();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic get(Ljava/lang/Process;)Ljava/util/function/Supplier;
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/Process.waitForInternal()Ljava/lang/Process; (7)
()Ljava/lang/Process;
invokestatic java.util.concurrent.CompletableFuture.supplyAsync:(Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Process;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Process;>;
private java.lang.Process waitForInternal();
descriptor: ()Ljava/lang/Process;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: StackMap locals: int
StackMap stack:
new java.lang.Process$1
dup
aload 0
invokespecial java.lang.Process$1.<init>:(Ljava/lang/Process;)V
invokestatic java.util.concurrent.ForkJoinPool.managedBlock:(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V
2: goto 6
3: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
4: iconst_1
istore 1
5: goto 1
6: StackMap locals:
StackMap stack:
iload 1
ifeq 8
7: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/Process;
1 9 1 interrupted Z
Exception table:
from to target type
1 2 3 Class java.lang.InterruptedException
public java.lang.ProcessHandle toHandle();
descriptor: ()Ljava/lang/ProcessHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc ".toHandle() not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Process;
public java.lang.ProcessHandle$Info info();
descriptor: ()Ljava/lang/ProcessHandle$Info;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.toHandle:()Ljava/lang/ProcessHandle;
invokeinterface java.lang.ProcessHandle.info:()Ljava/lang/ProcessHandle$Info;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Process;
public java.util.stream.Stream<java.lang.ProcessHandle> children();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.toHandle:()Ljava/lang/ProcessHandle;
invokeinterface java.lang.ProcessHandle.children:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Process;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/ProcessHandle;>;
public java.util.stream.Stream<java.lang.ProcessHandle> descendants();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Process.toHandle:()Ljava/lang/ProcessHandle;
invokeinterface java.lang.ProcessHandle.descendants:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Process;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/ProcessHandle;>;
}
SourceFile: "Process.java"
NestMembers:
java.lang.Process$1 java.lang.Process$PipeInputStream
InnerClasses:
java.lang.Process$1
PipeInputStream = java.lang.Process$PipeInputStream of java.lang.Process
public abstract Info = java.lang.ProcessHandle$Info of java.lang.ProcessHandle
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ManagedBlocker = java.util.concurrent.ForkJoinPool$ManagedBlocker of java.util.concurrent.ForkJoinPool