RFR: 8315981: Opensource five more random Swing tests

Andrey Turbanov aturbanov at openjdk.org
Wed Sep 13 19:04:38 UTC 2023


On Wed, 13 Sep 2023 15:53:30 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Clean up and open source five tests:
> javax/swing/DefaultListCellRenderer/4180943/bug4180943.java
> javax/swing/DefaultListModel/4466250/bug4466250.java
> javax/swing/DefaultListSelectionModel/4140619/bug4140619.java
> javax/swing/DefaultListSelectionModel/4177723/bug4177723.java
> javax/swing/ImageIcon/4827074/bug4827074.java

test/jdk/javax/swing/ImageIcon/4827074/bug4827074.java line 67:

> 65:             ObjectInputStream in = new ObjectInputStream(bais);
> 66:             _ii = (ImageIcon)in.readObject();
> 67:         } catch(Exception ex) {

Suggestion:

        } catch (Exception ex) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15724#discussion_r1324946066


More information about the client-libs-dev mailing list