<AWT Dev> Integrated: 8272342: [TEST_BUG] java/awt/print/PrinterJob/PageDialogMarginTest.java catches all exceptions

rajat mahajan github.com+79671271+rajamah at openjdk.java.net
Mon Aug 16 22:26:33 UTC 2021


On Fri, 13 Aug 2021 19:23:21 GMT, rajat mahajan <github.com+79671271+rajamah at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: a5ad7720
Author:    Rajat Mahajan <rajat.m.mahajan at oracle.com>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a5ad7720d235610ad45fc341c61f164805f82a54
Stats:     26 lines in 1 file changed: 2 ins; 5 del; 19 mod

8272342: [TEST_BUG] java/awt/print/PrinterJob/PageDialogMarginTest.java catches all exceptions

Reviewed-by: aivanov, pbansal

-------------

PR: https://git.openjdk.java.net/jdk/pull/5115


More information about the awt-dev mailing list