This test require a printer to test its objective, so printer existence check is added.
------------- Commit messages: - 8198343: Test java/awt/print/PrinterJob/TestPgfmtSetMPA.java may fail w/o printer - 8198343: Test java/awt/print/PrinterJob/TestPgfmtSetMPA.java may fail w/o printer Changes: https://git.openjdk.java.net/jdk/pull/2370/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2370&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8198343 Stats: 6 lines in 2 files changed: 5 ins; 1 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/2370.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2370/head:pull/2370 PR: https://git.openjdk.java.net/jdk/pull/2370