-
Bug
-
Resolution: Unresolved
-
P4
-
7u60, 8, 9, 10, 11, 12, 13, 14, 15, 19, 25
-
generic
-
generic
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=271403.JAVASE_EMBEDDED_PROMOTION_TESTCYCLE_8_ALL-21
RULE closed/java/awt/Focus/InactiveWindowTest/InactiveFocusRace Exception java.lang.RuntimeException: Button2 didn't become focus owner
To reproduce:
go to bus2001047.us.oracle.com
/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/bin/javac InactiveFocusRace.java
/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/bin/javac InactiveFocusRace.html
/export/local/aurora/CommonData/jtreg_dir/win32/bin/jtreg -verbose:all -testjdk:/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/ -dir:/export/users/rmatafon/ InactiveFocusRace.html
Test will pass from time to time. Mostly fail.
To make test pass ever, add code:
try {
Thread.sleep(1000);
} catch (Exception e) {
System.out.println("Oops");
}
after (line 83):
inactiveFrame.setVisible(true);
activeFrame.setVisible(true);
BTW, test fails from time to time on my Core i5 notebook.
RULE closed/java/awt/Focus/InactiveWindowTest/InactiveFocusRace Exception java.lang.RuntimeException: Button2 didn't become focus owner
To reproduce:
go to bus2001047.us.oracle.com
/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/bin/javac InactiveFocusRace.java
/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/bin/javac InactiveFocusRace.html
/export/local/aurora/CommonData/jtreg_dir/win32/bin/jtreg -verbose:all -testjdk:/net/aurora-ds/data/export/aurora/sca/embedded/builds/8/b101/jdk/linux-i586/ -dir:/export/users/rmatafon/ InactiveFocusRace.html
Test will pass from time to time. Mostly fail.
To make test pass ever, add code:
try {
Thread.sleep(1000);
} catch (Exception e) {
System.out.println("Oops");
}
after (line 83):
inactiveFrame.setVisible(true);
activeFrame.setVisible(true);
BTW, test fails from time to time on my Core i5 notebook.
- links to
-
Review(master) openjdk/jdk/27156