test/jdk/java/awt/List/EmptyListEventTest/EmptyListEventTest.java
changeset 52544 c1389b2371c9
parent 47216 71c04702a3d5
equal deleted inserted replaced
52543:3853631e6a07 52544:c1389b2371c9
     1 /*
     1 /*
     2  * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @key headful
    26  * @key headful
    27  * @bug 6366126
    27  * @bug 6366126 8198000
    28  * @summary List throws ArrayIndexOutOfBoundsException when pressing ENTER after removing all the items, Win32
    28  * @summary List throws ArrayIndexOutOfBoundsException when pressing ENTER after removing all the items, Win32
    29  * @author Dmitry Cherepanov area=awt.list
    29  * @author Dmitry Cherepanov area=awt.list
    30  * @run main EmptyListEventTest
    30  * @run main EmptyListEventTest
    31  */
    31  */
    32 import java.awt.*;
    32 import java.awt.*;