Hello, I have a question regarding the test java/awt/PrinterJob/SameService.java ; the test deals with @bug 6446094 .
It checks that print services are not re-created , which was addressed (or at least discussed ) in 6446094 , See https://bugs.openjdk.java.net/browse/JDK-6446094 Win32PrintServiceLookup.getPrintServiceByName() should not recreate duplicate instances. However 6446094 just talks about Windows , and I see sporadic failures on some Linux test machine in java/awt/PrinterJob/SameService.java because the print service is (seldom) recreated on Linux ( it is even non-deterministic, on the same machine the test fails in ~ 30 % of runs and succeeds in the other cases ) . Can we make the test Windows-only ( I think the API does not guarantee that print services are not re-created , although it is desired ) ? Best regards, Matthias
