RFR: 8268675: RTE from "Printable.print" propagates through "PrinterJob.print" [v2]
Renjith Kannath Pariyangad
rkannathpari at openjdk.org
Tue Feb 24 03:46:45 UTC 2026
On Sun, 22 Feb 2026 00:30:31 GMT, Jean-Noël Rouvignac <duke at openjdk.org> wrote:
>> Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Updated copyright year
>
> src/java.desktop/share/classes/sun/print/RasterPrinterJob.java line 1614:
>
>> 1612:
>> 1613: } catch (Throwable printError) {
>> 1614: if (printError instanceof PrinterException) {
>
> Suggestion:
>
> } catch (PrinterException e) {
> throw e;
> } catch (Throwable printError) {
> throw (PrinterException)
> new PrinterException().initCause(printError.getCause());
Thank you @JnRouvignac, for you time and suggestion, I have updated based on your suggestion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29733#discussion_r2844322126
More information about the client-libs-dev
mailing list