> 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: Use EventQueue.invokeLater ------------- Changes: - all: https://git.openjdk.org/jdk/pull/20027/files - new: https://git.openjdk.org/jdk/pull/20027/files/c4c7f9d7..6750e51f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20027&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20027&range=02-03 Stats: 9 lines in 1 file changed: 0 ins; 3 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/20027.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20027/head:pull/20027 PR: https://git.openjdk.org/jdk/pull/20027