RFR: 8316412: javax/print tests fail without printer set up

Michal Sobierski duke at openjdk.org
Wed Sep 20 16:48:09 UTC 2023


On Wed, 20 Sep 2023 14:27:58 GMT, Aleksey Shipilev <shade at 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


More information about the client-libs-dev mailing list