RFR: 8336382: Fixes error reporting in loading AWT and fonts [v2]

Karm Michal Babacek duke at openjdk.org
Wed Jul 24 12:07:45 UTC 2024


On Mon, 15 Jul 2024 19:07:44 GMT, Phil Race <prr at openjdk.org> wrote:

>> Karm Michal Babacek has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Reverts changes to java/awt/Font.java
>
> src/java.desktop/share/classes/java/awt/Font.java line 1205:
> 
>> 1203:                 throw (FontFormatException)cause;
>> 1204:             }
>> 1205:             throw new IOException("Problem reading font data.", t);
> 
> Revert this. It is done this way as part of a previous security fix to avoid exposing information.
> "    8001038: Resourcefully handle resources "

Reverted in [49c6ebd](https://github.com/openjdk/jdk/pull/20169/commits/49c6ebdd4a44f418c380a2fd5f699d7bd65856bc)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20169#discussion_r1689654894


More information about the client-libs-dev mailing list