6847584: closed/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html fails

Reviewed-by: anthony
This commit is contained in:
Dmitry Cherepanov 2009-06-15 11:15:55 -04:00
parent 7019b37e8c
commit d7d8999b2b
2 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,22 @@
<HTML>
<!-- @test
@bug 4023283
@summary Checks that an Error which propogate up to the EventDispatch
loop does not crash AWT.
@author Andrei Dmitriev: area=awt.event
@library ../../regtesthelpers
@build Util
@run main LoopRobustness
-->
<HEAD>
<TITLE>LoopRobustness</TITLE>
</HEAD>
<BODY>
This is automatic test.
<APPLET CODE="LoopRobustness.class"
CODEBASE = "."
WIDTH=350 HEIGHT=100>
</APPLET>
</BODY>
</HTML>

View File

@ -1,5 +1,5 @@
/*
* Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -26,7 +26,10 @@
* @bug 4023283
* @summary Checks that an Error which propogate up to the EventDispatch
* loop does not crash AWT.
* @author Andrei Dmitriev Oleg Sukhodolsky
* @author Andrei Dmitriev: area=awt.event
* @library ../../regtesthelpers
* @build Util
* @run main LoopRobustness
*/
import java.awt.*;