META-INF.modules.java.base.classes.java.lang.ProcessImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? 8(
?#
$% &'
( ?
)* ?+ ?,. 0
1234
?5
6
78
?9
:
7;
<
=2>
?
?
{( @
?A B
C D
EF G M
NOP
&QRS
)( |T U
?A VWX
/Y Z [\]
3Y ^ _
E` d
efg
h
i
:jkl
?i m
>n dp
DY dr
G(s
Gt
Gu
Gv
w x
?y z
{|
$} {~
{??
U?
E?
??
??
?? d
e?
$???
_?
?
??
G?
G??
???
??
??
??
?
??
D?
/?
3?
?
??
??
??
??
??
??? InnerClasses #DeferredCloseProcessPipeInputStream DeferredCloseInputStream ProcessPipeOutputStream ProcessPipeInputStream? Platform? LaunchMechanism fdAccess 0Ljdk/internal/access/JavaIOFileDescriptorAccess; SUPPORTS_NORMAL_TERMINATION Z
ConstantValue pid I
processHandle Ljava/lang/ProcessHandleImpl; exitcode hasExited stdin Ljava/io/OutputStream; stdout Ljava/io/InputStream; stderr stdout_inner_stream 0Ljava/lang/ProcessImpl$DeferredCloseInputStream; platform Ljava/lang/ProcessImpl$Platform; launchMechanism 'Ljava/lang/ProcessImpl$LaunchMechanism;
helperpath [B $assertionsDisabled toCString (Ljava/lang/String;)[B Code LineNumberTable LocalVariableTable s Ljava/lang/String; bytes result
StackMapTable start? Redirect n([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process; i arg std_fds [I forceNullOutputStream p Ljava/lang/Process; cmdarray [Ljava/lang/String; environment Ljava/util/Map; dir redirects $[Ljava/lang/ProcessBuilder$Redirect; redirectErrorStream args [[B size argBlock envc envBlock f0 Ljava/io/FileInputStream; f1 Ljava/io/FileOutputStream; f2 LocalVariableTypeTable 5Ljava/util/Map; ? ??? ? ??
Exceptions Signature ?([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process; forkAndExec (I[B[B[BI[BI[B[IZ)I ([B[BI[BI[B[IZZ)V ex )Ljava/security/PrivilegedActionException; this Ljava/lang/ProcessImpl; prog argc fds newFileDescriptor (I)Ljava/io/FileDescriptor; fd fileDescriptor Ljava/io/FileDescriptor; initStreams ([IZ)V?? getOutputStream ()Ljava/io/OutputStream; getInputStream ()Ljava/io/InputStream; getErrorStream waitFor ()I #(JLjava/util/concurrent/TimeUnit;)Z timeout J unit Ljava/util/concurrent/TimeUnit; remainingNanos deadline exitValue destroy (Z)V force? onExit *()Ljava/util/concurrent/CompletableFuture; ?()Ljava/util/concurrent/CompletableFuture; toHandle ()Ljava/lang/ProcessHandle; sm Ljava/lang/SecurityManager;? supportsNormalTermination ()Z ()V destroyForcibly ()Ljava/lang/Process; ()J isAlive toString ()Ljava/lang/String; init lambda$onExit$4 =(Ljava/lang/Integer;Ljava/lang/Throwable;)Ljava/lang/Process; ie Ljava/lang/InterruptedException; unusedExitStatus Ljava/lang/Integer; unusedThrowable Ljava/lang/Throwable; interrupted lambda$initStreams$3 <(Ljava/lang/Integer;Ljava/lang/Throwable;)Ljava/lang/Object; throwable? lambda$initStreams$2 lambda$initStreams$1 lambda$new$0 ([IZ)Ljava/lang/Void;?
SourceFile ProcessImpl.java NestMembers????? ? ? java/lang/AssertionError ????????? )java/lang/ProcessBuilder$RedirectPipeImpl RedirectPipeImpl ? ?????? java/io/FileInputStream?? ???? java/io/FileOutputStream? ?? java/lang/ProcessImpl ? ? ? ???? ? ?? ? ? ? ? ? ? ???? ? ? BootstrapMethods????????? 'java/security/PrivilegedActionException?? java/io/IOException java/io/FileDescriptor? ? ? ???? -java/lang/ProcessImpl$ProcessPipeOutputStream ?? ? ???? ,java/lang/ProcessImpl$ProcessPipeInputStream ? ? ? ?????????? java/io/BufferedOutputStream ? ? ?? ?? java/io/BufferedInputStream .java/lang/ProcessImpl$DeferredCloseInputStream ? ? ??? 9java/lang/ProcessImpl$DeferredCloseProcessPipeInputStream? java/lang/StringBuilder Unsupported platform: ????
?? ? ?? ? ?????? ??? %java/lang/IllegalThreadStateException process hasn't exited ???? ?? java/lang/RuntimePermission
manageProcess ? ? Process[pid=? , exitValue= "not exited" ] ? ? java/lang/InterruptedException
? ? ?? ? java/lang/Process java/lang/ProcessImpl$1 java/lang/ProcessImpl$Platform %java/lang/ProcessImpl$LaunchMechanism !java/lang/ProcessBuilder$Redirect
java/util/Map java/lang/String java/lang/Throwable java/io/OutputStream java/io/InputStream java/lang/Object java/lang/SecurityManager java/lang/Integer java/lang/Exception getBytes ()[B java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/lang/ProcessEnvironment toEnvironmentBlock (Ljava/util/Map;[I)[B PIPE #Ljava/lang/ProcessBuilder$Redirect; INHERIT java/lang/ProcessBuilder getFd ()Ljava/io/FileDescriptor; .jdk/internal/access/JavaIOFileDescriptorAccess get (Ljava/io/FileDescriptor;)I file ()Ljava/io/File; (Ljava/io/File;)V getFD append (Ljava/io/File;Z)V set (Ljava/io/FileDescriptor;I)V close ordinal java/lang/ProcessHandleImpl getInternal (J)Ljava/lang/ProcessHandleImpl;
()Ljava/lang/Object;
()Ljava/lang/Void; run E(Ljava/lang/ProcessImpl;[IZ)Ljava/security/PrivilegedExceptionAction; java/security/AccessController doPrivileged =(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object; getException ()Ljava/lang/Exception; )$SwitchMap$java$lang$ProcessImpl$Platform )java/lang/ProcessBuilder$NullOutputStream NullOutputStream INSTANCE +Ljava/lang/ProcessBuilder$NullOutputStream; (I)V (java/lang/ProcessBuilder$NullInputStream NullInputStream *Ljava/lang/ProcessBuilder$NullInputStream;
completion ,(JZ)Ljava/util/concurrent/CompletableFuture; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
apply 8(Ljava/lang/ProcessImpl;)Ljava/util/function/BiFunction; &java/util/concurrent/CompletableFuture handle I(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture; (Ljava/io/FileDescriptor;)V (Ljava/io/OutputStream;)V (Ljava/io/InputStream;)V
-(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/Object;)V wait java/util/concurrent/TimeUnit toNanos (J)J nanoTime NANOSECONDS timedWait (Ljava/lang/Object;J)V (Ljava/lang/String;)V destroyProcess (Z)Z
closeDeferred
handleAsync getSecurityManager ()Ljava/lang/SecurityManager; checkPermission (Ljava/security/Permission;)V (I)Ljava/lang/StringBuilder; valueOf (I)Ljava/lang/Integer; java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt intValue notifyAll
processExited java/lang/Class desiredAssertionStatus !jdk/internal/access/SharedSecrets getJavaIOFileDescriptorAccess 2()Ljdk/internal/access/JavaIOFileDescriptorAccess; "()Ljava/lang/ProcessImpl$Platform; )()Ljava/lang/ProcessImpl$LaunchMechanism;
helperPath !$
"java/lang/invoke/LambdaMetafactory metafactory& Lookup ?(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;' %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles 0 { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? $*? ?*? L+?`?M+,+?? ,,?dT,? ? ? ? ? ? ? ? " ? ? $ ? ? ? ? ? ? ? ? ? ? V \? ? *? *?? ? Y? ?*?d? :?66?? "*`2? S2?`6?????:6: ?6
6
? ' 2:?? ?``6?????
: + ? :
::
:6-? ?
YOYOYO:?@?
:-2? ? O? U-2? ? O? D-2?
? ? -2?
? ?
O? #? Y-2? ? :? ? ?
O-2? ? O? ^-2? ? O? M-2?
? ? -2?
? ?
O6? )? Y-2? -2? ? :
?
? ?
O-2? ? O? [-2? ? O? J-2?
? ? -2?
? ?
O? )? Y-2? -2? ? :? ? ?
O? Y*2? ?
.,? ? :-? r.? !-2?
? ? -2?
? .? .? !-2?
? ? -2?
? .? .? !-2?
? ? -2?
? .? :? ?
?
? ? ? ? :? ? ?? .:
?
? ? ? ? :? ? ???:? ?
?
? ? ? ? :? ? ?? .:
?
? ? ? ? :? ? ??? ??? ??? ??? ??? ??? ??? ??? ?. 0:G GIG .0. ??? ? 2 L ? ? ? % ? 0 ? > ? I ? O ? U ? X ? r ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?( ?1 ?9 ?B ?J ?S ?h ?n ?{ ?? ?? ?? ?? ???????!%5JZo?"?&?(?)?*?(?)?*?"?&()+*.(:)V*Y+ ? ? ( ' ? ? r ? ? ? ? ? ?Q ? ? ! ? ? ? ?4 ? ? \ ? ? \ ? ? \ ? ? \ ? ? \ ? ? <