On Wed, 20 Sep 2023 14:27:58 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

>> Correct me if I'm wrong, but I think if we ask for null here it may find a 
>> PrintService that does not support PRINTABLE flavor so SkippedException will 
>> not be thrown because svc.length will be greater than 0 and we may end up 
>> with an exception thrown later in pj.print().
>
> Oh, OK. So the idea is that if we use `setPrintable`, we need to lookup the 
> service that accepts `.PRINTABLE`?

This is my understanding.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15821#discussion_r1331777555

Reply via email to