[RFC] Remove outdated postscript test from icedtea6
Omair Majid
omajid at redhat.com
Thu Mar 12 14:33:28 PDT 2009
Hi,
This patch removes the javax/print/attribute/PSCopiesFlavorTest.java
jtreg (jdk) test from IcedTea6. The test was written for a
CUPS/postscript bug[1].
There are several issues with this test. It cant handle the case where
there is no default printer; it throws a NullPointerException without
actually testing what it's supposed to. The bug that this test checks
for has become obsolete. The issue was that when a postscript file
specified the number of copies, and the user asked for a certain number
of copies, the number of copies in the postscript file would generally
take precedence. This meant that from a user's point of view, there was
no way to set the number of copies. This is no longer true for modern
version of CUPS. The JRE has already been fixed so that it returns
Copies as a valid attribute for postscript documents, making this test
incorrect.
Cheers
Omair
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6527316
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-postscript-jtreg-test.patch
Type: text/x-patch
Size: 3553 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090312/406b96f5/remove-postscript-jtreg-test.patch
More information about the distro-pkg-dev
mailing list