RFR: 8361286: Allow enabling of background loading for images loaded from an InputStream [v5]
Andy Goryachev
angorya at openjdk.org
Tue Sep 30 16:54:12 UTC 2025
On Sat, 23 Aug 2025 14:26:51 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:
>
> Clarify documentation with regards to stream closing
modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java line 829:
> 827: String protocol = u.getProtocol();
> 828:
> 829: if(protocol.equals("http") || protocol.equals("https")) {
minor suggestion: `"http".equals()`
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1875#discussion_r2392250091
More information about the openjfx-dev
mailing list