final class com.oracle.truffle.polyglot.ProcessHandlers
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.polyglot.ProcessHandlers
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.ProcessHandlers this
         0: .line 57
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 58
            new java.lang.IllegalStateException
            dup
            ldc "Instance is not allowed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // com.oracle.truffle.polyglot.ProcessHandlers this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/polyglot/ProcessHandlers;

  static org.graalvm.polyglot.io.ProcessHandler newDefaultProcessHandler();
    descriptor: ()Lorg/graalvm/polyglot/io/ProcessHandler;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 62
            new com.oracle.truffle.polyglot.ProcessHandlers$DefaultProcessHandler
            dup
            invokespecial com.oracle.truffle.polyglot.ProcessHandlers$DefaultProcessHandler.<init>:()V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static boolean isDefault(org.graalvm.polyglot.io.ProcessHandler);
    descriptor: (Lorg/graalvm/polyglot/io/ProcessHandler;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.io.ProcessHandler handler
         0: .line 66
            aload 0 /* handler */
            instanceof com.oracle.truffle.polyglot.ProcessHandlers$DefaultProcessHandler
            ireturn
        end local 0 // org.graalvm.polyglot.io.ProcessHandler handler
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  handler  Lorg/graalvm/polyglot/io/ProcessHandler;
    MethodParameters:
         Name  Flags
      handler  

  static java.lang.Process decorate(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.util.List<? extends java.lang.String>, java.lang.Process, java.io.OutputStream, java.io.OutputStream);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/util/List;Ljava/lang/Process;Ljava/io/OutputStream;Ljava/io/OutputStream;)Ljava/lang/Process;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=7, args_size=5
        start local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext owner
        start local 1 // java.util.List cmd
        start local 2 // java.lang.Process process
        start local 3 // java.io.OutputStream out
        start local 4 // java.io.OutputStream err
         0: .line 71
            new com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator
            dup
            aload 0 /* owner */
            aload 1 /* cmd */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            aload 2 /* process */
            aload 3 /* out */
            aload 4 /* err */
            invokespecial com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/String;Ljava/lang/Process;Ljava/io/OutputStream;Ljava/io/OutputStream;)V
            astore 5 /* decorator */
        start local 5 // com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator decorator
         1: .line 72
            aload 0 /* owner */
            getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            dup
            astore 6
            monitorenter
         2: .line 73
            aload 0 /* owner */
            getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            getfield com.oracle.truffle.polyglot.PolyglotContextImpl.subProcesses:Ljava/util/Set;
            aload 5 /* decorator */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         3: .line 72
            aload 6
            monitorexit
         4: goto 7
      StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguageContext java.util.List java.lang.Process java.io.OutputStream java.io.OutputStream com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator com.oracle.truffle.polyglot.PolyglotContextImpl
      StackMap stack: java.lang.Throwable
         5: aload 6
            monitorexit
         6: athrow
         7: .line 75
      StackMap locals:
      StackMap stack:
            aload 5 /* decorator */
            areturn
        end local 5 // com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator decorator
        end local 4 // java.io.OutputStream err
        end local 3 // java.io.OutputStream out
        end local 2 // java.lang.Process process
        end local 1 // java.util.List cmd
        end local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext owner
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0      owner  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    8     1        cmd  Ljava/util/List<+Ljava/lang/String;>;
            0    8     2    process  Ljava/lang/Process;
            0    8     3        out  Ljava/io/OutputStream;
            0    8     4        err  Ljava/io/OutputStream;
            1    8     5  decorator  Lcom/oracle/truffle/polyglot/ProcessHandlers$ProcessDecorator;
      Exception table:
        from    to  target  type
           2     4       5  any
           5     6       5  any
    Signature: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/util/List<+Ljava/lang/String;>;Ljava/lang/Process;Ljava/io/OutputStream;Ljava/io/OutputStream;)Ljava/lang/Process;
    MethodParameters:
         Name  Flags
      owner    
      cmd      
      process  
      out      
      err      
}
SourceFile: "ProcessHandlers.java"
NestMembers:
  com.oracle.truffle.polyglot.ProcessHandlers$CopierThread  com.oracle.truffle.polyglot.ProcessHandlers$DefaultProcessHandler  com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator
InnerClasses:
  private final CopierThread = com.oracle.truffle.polyglot.ProcessHandlers$CopierThread of com.oracle.truffle.polyglot.ProcessHandlers
  private final DefaultProcessHandler = com.oracle.truffle.polyglot.ProcessHandlers$DefaultProcessHandler of com.oracle.truffle.polyglot.ProcessHandlers
  final ProcessDecorator = com.oracle.truffle.polyglot.ProcessHandlers$ProcessDecorator of com.oracle.truffle.polyglot.ProcessHandlers