RFR: 8311216: DataURI can lose information in some charset environments [v2]

John Hendrikx jhendrikx at openjdk.org
Sat Oct 28 23:14:44 UTC 2023


On Sat, 28 Oct 2023 20:22:12 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> 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.

Was just a suggestion, I like your solution!

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

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


More information about the openjfx-dev mailing list