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

Sergey Bylokhov serb at openjdk.java.net
Tue Aug 10 23:05:44 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 55:

> 53: 
> 54:     public JFrame createUIAndTest() throws Exception {
> 55:         final JFrame frame = new JFrame("Test bug4959409");

Please make sure that the Swing components, created/used/disposed on the EDT.

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

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


More information about the awt-dev mailing list