On Fri, 27 Sep 2024 19:19:56 GMT, Artur Barashev <abaras...@openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/ssl/SSLTransport.java line 144: >> >>> 142: } >>> 143: >>> 144: plaintexts = new Plaintext[]{ >> >> do we need to advance the position of the input buffer here? > > You mean the `packet` buffer? No, it has 2 bytes remaining as it should. I was referring to `srcs[srcOffset]`; `packet` is a duplicate, so the position is independent from the original. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21043#discussion_r1779068272