On Thu, 9 Apr 2026 16:49:06 GMT, Alexey Ivanov <[email protected]> wrote:

> Set the cause of a `PrinterException` to the `RuntimeException` caught during 
> printing, thus wrap any other exception that occurs during printer into a 
> `PrinterException`.
> 
> I updated the test to print to a file—there's no need to send a print job to 
> a physical printer. (Otherwise, the test asked me to select a file for the 
> PDF Printer that I had.)
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 0df4bd48
Author:    Alexey Ivanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/0df4bd489de00056736321f1e77389add7a41f83
Stats:     53 lines in 2 files changed: 37 ins; 10 del; 6 mod

8381208: Init cause with the caught runtime exception

Reviewed-by: dmarkov, serb, azvegint

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

PR: https://git.openjdk.org/jdk/pull/30656

Reply via email to