On Sat, 28 Oct 2023 18:10:59 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:

>> Solved by calculating the exact size first.
>
> Thanks, I see you went this route, you could eliminate the 
> `ByteArrayOutputStream` now, perhaps have the signature of 
> `decodePercentEncodingToStream` changed to:
> 
>     private static byte[] decodePercentEncodingToStream(String input, int 
> size)

I didn't to exactly that, but something quite like it.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1165#discussion_r1375317751

Reply via email to