On Fri, 9 Feb 2024 14:59:06 GMT, Renjith Kannath Pariyangad 
<rkannathp...@openjdk.org> wrote:

> Hi Reviewers,
> I have updated the test with 'PassFailJFrame' with programmatically 
> generating image and print , please review and let me know your suggestions.

What would be the best option to handle a missing printer?

1. Throw a `RuntimeException` or `Error` indicating there's no printer 
available?
2. Let the test fail with whatever error it may fail when there's no printer?

I'm inclined towards the first option — it gives a clear indication of the 
error.

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

PR Comment: https://git.openjdk.org/jdk/pull/17790#issuecomment-1939418142

Reply via email to