On Wed, 5 Jan 2022 02:05:29 GMT, Phil Race <[email protected]> wrote:
> This fixes a longstanding consistency issue where the Postscript
> StreamPrintService would report SheetCollate.UNCOLLATED in a list of
> supported values then report it was not supported under the same conditions.
test/jdk/javax/print/attribute/StreamServiceSheetCollateTest.java line 52:
> 50: OutputStream out = new ByteArrayOutputStream();
> 51: StreamPrintService sps = fact[0].getPrintService(out);
> 52: if (!sps.isAttributeCategorySupported(SheetCollate.class)) {
Can we add other attributes to the tests? I made a quick check for some
attributes and it looks like the code is quite confused, on my windows, the
same issue exists for the "OrientationRequested.class".
-------------
PR: https://git.openjdk.java.net/jdk/pull/6963