On Wed, 21 Aug 2024 08:39:31 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> When a printjob is cancelled midway, `PrinterAbortException `was not thrown 
>> in macos. because 
>> firstly,` cancelCheck` invokes` LWCToolkit.invokeLater` with null as 
>> parameter causing it to fail with NPE and
>> secondly PrinterAbortException was consumed silently when `printLoop` throws 
>> any exception
>> which is rectified to throw the PrinterAbortException when encountered..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Store if its PrinterAbortException

Verified recent changes and test behaves as expected.

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

Marked as reviewed by abhiscxk (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20027#pullrequestreview-2455315630

Reply via email to