8023576: [TEST BUG] Compilation fails for java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java

Reviewed-by: anthony, serb
This commit is contained in:
Andrei Eremeev 2013-12-03 15:18:52 +04:00 committed by Yuri Nesterenko
parent 72e44e870c
commit 0bb946b80e

View File

@ -25,7 +25,9 @@
@test @test
@bug 7050935 @bug 7050935
@summary closed/java/awt/Choice/WheelEventsConsumed/WheelEventsConsumed.html fails on win32 @summary closed/java/awt/Choice/WheelEventsConsumed/WheelEventsConsumed.html fails on win32
@library ../../regtesthelpers
@author Oleg Pekhovskiy: area=awt-choice @author Oleg Pekhovskiy: area=awt-choice
@build Util
@run main ChoiceMouseWheelTest @run main ChoiceMouseWheelTest
*/ */
@ -142,8 +144,7 @@ public class ChoiceMouseWheelTest extends Frame {
throw new RuntimeException("Mouse Wheel scroll position error!"); throw new RuntimeException("Mouse Wheel scroll position error!");
} }
System.exit(0); dispose();
} catch (AWTException e) { } catch (AWTException e) {
throw new RuntimeException("AWTException occurred - problem creating robot!"); throw new RuntimeException("AWTException occurred - problem creating robot!");
} }