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

Tejesh R tr at openjdk.org
Fri May 12 05:32:15 UTC 2023


On Fri, 12 May 2023 04:36:09 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

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

Updated.

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

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



More information about the client-libs-dev mailing list