> Removed try catch block so the test can function as expected and fail > when it ought to, rather than passing all the time because of catch > block catching all exceptions and Passing test even there is a failure.
rajat mahajan has updated the pull request incrementally with one additional commit since the last revision: Update test/jdk/java/awt/print/PrinterJob/PageDialogMarginTest.java Co-authored-by: Alexey Ivanov <70774172+aivanov-...@users.noreply.github.com> ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/5115/files - new: https://git.openjdk.java.net/jdk/pull/5115/files/2c181a8a..e970bb25 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5115&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5115&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/5115.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5115/head:pull/5115 PR: https://git.openjdk.java.net/jdk/pull/5115