final class com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream
  super_class: java.io.OutputStream
{
  private static final java.lang.String REDIRECT_FORMAT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "[To redirect Truffle log output to a file use one of the following options:%n* '--log.file=<path>' if the option is passed using a guest language launcher.%n* '-Dpolyglot.log.file=<path>' if the option is passed using the host Java launcher.%n* Configure logging using the polyglot embedding API.]%n"

  private final java.io.OutputStream delegate;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean notificationPrinted;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
        start local 1 // java.io.OutputStream delegate
         0: .line 666
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 667
            aload 0 /* this */
            aload 1 /* delegate */
            ldc "Delegate must be non null."
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast java.io.OutputStream
            putfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.delegate:Ljava/io/OutputStream;
         2: .line 668
            return
        end local 1 // java.io.OutputStream delegate
        end local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/oracle/truffle/polyglot/PolyglotLoggers$RedirectNotificationOutputStream;
            0    3     1  delegate  Ljava/io/OutputStream;
    MethodParameters:
          Name  Flags
      delegate  

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
        start local 1 // int b
         0: .line 672
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.printNotification:()V
         1: .line 673
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.delegate:Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
         2: .line 674
            return
        end local 1 // int b
        end local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/polyglot/PolyglotLoggers$RedirectNotificationOutputStream;
            0    3     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 678
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.printNotification:()V
         1: .line 679
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.delegate:Ljava/io/OutputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.OutputStream.write:([BII)V
         2: .line 680
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/polyglot/PolyglotLoggers$RedirectNotificationOutputStream;
            0    3     1     b  [B
            0    3     2   off  I
            0    3     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  private void printNotification();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
         0: .line 683
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.notificationPrinted:Z
            ifeq 2
         1: .line 684
            return
         2: .line 686
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         3: .line 687
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.notificationPrinted:Z
            ifne 8
         4: .line 688
            new java.io.PrintStream
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.delegate:Ljava/io/OutputStream;
            invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
            astore 2 /* ps */
        start local 2 // java.io.PrintStream ps
         5: .line 689
            aload 2 /* ps */
            ldc "[To redirect Truffle log output to a file use one of the following options:%n* '--log.file=<path>' if the option is passed using a guest language launcher.%n* '-Dpolyglot.log.file=<path>' if the option is passed using the host Java launcher.%n* Configure logging using the polyglot embedding API.]%n"
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         6: .line 690
            aload 2 /* ps */
            invokevirtual java.io.PrintStream.flush:()V
         7: .line 691
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.notificationPrinted:Z
        end local 2 // java.io.PrintStream ps
         8: .line 686
      StackMap locals: com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream
      StackMap stack:
            aload 1
            monitorexit
         9: goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: aload 1
            monitorexit
        11: athrow
        12: .line 694
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lcom/oracle/truffle/polyglot/PolyglotLoggers$RedirectNotificationOutputStream;
            5    8     2    ps  Ljava/io/PrintStream;
      Exception table:
        from    to  target  type
           3     9      10  any
          10    11      10  any

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
         0: .line 698
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream.delegate:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         1: .line 699
            return
        end local 0 // com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/polyglot/PolyglotLoggers$RedirectNotificationOutputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "PolyglotLoggers.java"
NestHost: com.oracle.truffle.polyglot.PolyglotLoggers
InnerClasses:
  private final RedirectNotificationOutputStream = com.oracle.truffle.polyglot.PolyglotLoggers$RedirectNotificationOutputStream of com.oracle.truffle.polyglot.PolyglotLoggers