RFR: 8306812: Open source several AWT Miscellaneous tests [v3]

Abhishek Kumar abhiscxk at openjdk.org
Fri May 12 04:47:44 UTC 2023


On Thu, 11 May 2023 05:27:52 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Open source few AWT Miscellaneous ( Panel, Popup, robot and scrollbar) tests.
>
> Tejesh R has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Updated based on review comments
>  - Updated based on review comments

test/jdk/java/awt/Panel/SetForegroundTest.java line 48:

> 46:                 } catch (ClassCastException cce) {
> 47:                     System.out.println("TEST FAILED");
> 48:                     throw new RuntimeException("Test failed.", cce);

I think try-catch block may not be needed here and for other tests as well.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13828#discussion_r1191896987



More information about the client-libs-dev mailing list