final class jdk.internal.net.http.websocket.UTF8AccumulatingDecoder
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.net.http.websocket.UTF8AccumulatingDecoder
  super_class: java.lang.Object
{
  private final java.nio.charset.CharsetDecoder decoder;
    descriptor: Ljava/nio/charset/CharsetDecoder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.nio.ByteBuffer leftovers;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 40
            ldc Ljdk/internal/net/http/websocket/UTF8AccumulatingDecoder;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.websocket.UTF8AccumulatingDecoder this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
            putfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
         2: .line 45
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
            getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
            pop
         3: .line 46
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
            getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
            invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
            pop
         4: .line 49
            aload 0 /* this */
            getstatic jdk.internal.net.http.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
         5: .line 40
            return
        end local 0 // jdk.internal.net.http.websocket.UTF8AccumulatingDecoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/net/http/websocket/UTF8AccumulatingDecoder;

  java.nio.CharBuffer decode(java.nio.ByteBuffer, boolean);
    descriptor: (Ljava/nio/ByteBuffer;Z)Ljava/nio/CharBuffer;
    flags: (0x0000) 
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // jdk.internal.net.http.websocket.UTF8AccumulatingDecoder this
        start local 1 // java.nio.ByteBuffer in
        start local 2 // boolean endOfInput
         0: .line 55
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 4 /* rem */
        start local 4 // int rem
         1: .line 56
            iload 4 /* rem */
            ifeq 5
         2: .line 59
            iload 4 /* rem */
            aload 1 /* in */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iadd
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 3 /* b */
        start local 3 // java.nio.ByteBuffer b
         3: .line 60
            aload 3 /* b */
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            aload 1 /* in */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         4: .line 61
            goto 6
        end local 3 // java.nio.ByteBuffer b
         5: .line 62
      StackMap locals: jdk.internal.net.http.websocket.UTF8AccumulatingDecoder java.nio.ByteBuffer int top int
      StackMap stack:
            aload 1 /* in */
            astore 3 /* b */
        start local 3 // java.nio.ByteBuffer b
         6: .line 64
      StackMap locals: jdk.internal.net.http.websocket.UTF8AccumulatingDecoder java.nio.ByteBuffer int java.nio.ByteBuffer int
      StackMap stack:
            aload 3 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            astore 5 /* out */
        start local 5 // java.nio.CharBuffer out
         7: .line 65
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
            aload 3 /* b */
            aload 5 /* out */
            iload 2 /* endOfInput */
            invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
            astore 6 /* r */
        start local 6 // java.nio.charset.CoderResult r
         8: .line 66
            aload 6 /* r */
            invokevirtual java.nio.charset.CoderResult.isError:()Z
            ifeq 10
         9: .line 67
            aload 6 /* r */
            invokevirtual java.nio.charset.CoderResult.throwException:()V
        10: .line 69
      StackMap locals: java.nio.CharBuffer java.nio.charset.CoderResult
      StackMap stack:
            aload 3 /* b */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 13
        11: .line 70
            aload 0 /* this */
            aload 3 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            aload 3 /* b */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
        12: .line 71
            goto 14
        13: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getstatic jdk.internal.net.http.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
            putfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
        14: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iconst_4
            if_icmplt 18
        15: .line 77
            ldc "The size of decoding leftovers is greater than expected: {0}"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        16: .line 78
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        17: .line 77
            invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/String;[Ljava/lang/Object;)V
        18: .line 80
      StackMap locals:
      StackMap stack:
            aload 3 /* b */
            aload 3 /* b */
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        19: .line 84
            getstatic jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.$assertionsDisabled:Z
            ifne 20
            iload 2 /* endOfInput */
            ifeq 20
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 20
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            iload 2 /* endOfInput */
            invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.leftovers:Ljava/nio/ByteBuffer;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        20: .line 85
      StackMap locals:
      StackMap stack:
            iload 2 /* endOfInput */
            ifeq 25
        21: .line 86
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
            aload 5 /* out */
            invokevirtual java.nio.charset.CharsetDecoder.flush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
            astore 6 /* r */
        22: .line 87
            aload 0 /* this */
            getfield jdk.internal.net.http.websocket.UTF8AccumulatingDecoder.decoder:Ljava/nio/charset/CharsetDecoder;
            invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
            pop
        23: .line 88
            aload 6 /* r */
            invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
            ifeq 25
        24: .line 93
            new java.lang.InternalError
            dup
            ldc "Not yet implemented"
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        25: .line 96
      StackMap locals:
      StackMap stack:
            aload 5 /* out */
            invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/CharBuffer;
            areturn
        end local 6 // java.nio.charset.CoderResult r
        end local 5 // java.nio.CharBuffer out
        end local 4 // int rem
        end local 3 // java.nio.ByteBuffer b
        end local 2 // boolean endOfInput
        end local 1 // java.nio.ByteBuffer in
        end local 0 // jdk.internal.net.http.websocket.UTF8AccumulatingDecoder this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   26     0        this  Ljdk/internal/net/http/websocket/UTF8AccumulatingDecoder;
            0   26     1          in  Ljava/nio/ByteBuffer;
            0   26     2  endOfInput  Z
            3    5     3           b  Ljava/nio/ByteBuffer;
            6   26     3           b  Ljava/nio/ByteBuffer;
            1   26     4         rem  I
            7   26     5         out  Ljava/nio/CharBuffer;
            8   26     6           r  Ljava/nio/charset/CoderResult;
    Exceptions:
      throws java.nio.charset.CharacterCodingException
    MethodParameters:
            Name  Flags
      in          
      endOfInput  
}
SourceFile: "UTF8AccumulatingDecoder.java"