RFR: 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests [v3]

Damon Nguyen dnguyen at openjdk.org
Mon Sep 18 19:00:51 UTC 2023


On Fri, 15 Sep 2023 22:51:00 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add original exception
>
> test/jdk/javax/swing/JTabbedPane/ReplaceCompTab.java line 46:
> 
>> 44:     static JFrame f;
>> 45: 
>> 46:     public static void main(String[] args) throws InterruptedException,
> 
> Generic Exception can be thrown

Replaced where applicable. Thanks!

> test/jdk/javax/swing/JTabbedPane/ReplaceCompTab.java line 75:
> 
>> 73:                 } catch (Exception e) {
>> 74:                     System.out.println(e);
>> 75:                     e.printStackTrace();
> 
> These lines are not required since RuntimeException is being thrown subsequently.

Removed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15747#discussion_r1329151183
PR Review Comment: https://git.openjdk.org/jdk/pull/15747#discussion_r1329151294


More information about the client-libs-dev mailing list