RFR: 8267554: Support loading stylesheets from data-URIs [v5]

Michael Strauß mstrauss at openjdk.java.net
Thu Jun 24 23:24:47 UTC 2021


On Thu, 24 Jun 2021 21:12:36 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   cleaned up paragraph tags
>
> modules/javafx.graphics/src/main/java/javafx/css/Stylesheet.java line 316:
> 
>> 314:             final int bssVersion = dataInputStream.readShort();
>> 315:             if (bssVersion > Stylesheet.BINARY_CSS_VERSION) {
>> 316:                 throw new IOException("Wrong binary CSS version: "
> 
> If the `url` string is non-null shouldn't it still be part of the exception message?

True.

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

PR: https://git.openjdk.java.net/jfx/pull/536


More information about the openjfx-dev mailing list