<AWT Dev> RFR: 8267161 : Write automated test case for JDK-4479161

Sergey Bylokhov serb at openjdk.java.net
Thu Aug 12 02:17:28 UTC 2021


On Mon, 9 Aug 2021 18:36:07 GMT, lawrence.andrews <github.com+87324768+lawrence-andrew at openjdk.org> wrote:

> 1) Automated the manual test case.
> 2) Removed html dependent file
> 3) Removed javax.swing.JApplet dependent. 
> 4) Test case can be executed independently as well with jtreg framework.
> 5) Added methods to know that JFrame and Other component is visible before starting the user action via Robot.
> 
> @shurymury

test/jdk/java/awt/im/4959409/bug4959409.java line 193:

> 191:         } finally {
> 192:             if (jFrames[0] != null) {
> 193:                 jFrames[0].dispose();

dispose() should be called on EDT as well.

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

PR: https://git.openjdk.java.net/jdk/pull/5058


More information about the awt-dev mailing list