On Thu, 11 May 2023 05:27:52 GMT, Tejesh R <t...@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

Reply via email to