RFR: 8361286: Allow enabling of background loading for images loaded from an InputStream [v4]

Andy Goryachev angorya at openjdk.org
Thu Aug 21 17:36:03 UTC 2025


On Wed, 20 Aug 2025 23:33:16 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> Support background loading of raw input streams
>> 
>> - Fixed generics (mix up of two ImageLoader types)
>> - Removed unused code for handling headers, methods, request parameters
>> - Use `long` for progress as streams may exceed 2 GB
>> - Improved documentation of Image regarding background loading
>
> John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix typo

I like the `Supplier` idea, though I am not sure how the async path would work (unless you add the `closeStream` parameter).

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

PR Comment: https://git.openjdk.org/jfx/pull/1875#issuecomment-3211511718


More information about the openjfx-dev mailing list