-
Bug
-
Resolution: Fixed
-
P4
-
11, 12, 13
-
b07
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245972 | 13.0.4 | Sergey Bylokhov | P4 | Resolved | Fixed | b03 |
JDK-8239403 | 11.0.8-oracle | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8241281 | 11.0.8 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8256909 | openjdk8u282 | Sergey Bylokhov | P4 | Resolved | Fixed | b03 |
JDK-8256627 | 8u291 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8262611 | emb-8u291 | Sergey Bylokhov | P4 | Resolved | Fixed | team |
This test fails time to time in the mach5.
The test in question posts a number of events to the EventQueue and
checks that all events are dispatched. But it had incorrect assumption
that "while(q.peekEvent()!=null)" guarantees that all events were dispatched.
In some rare cases, it is possible that peekEvent () returns null because
the last event was removed from the queue, but this event was not necessarily
dispatched at that moment.
An updated test now uses "CountDownLatch" for proper synchronization and the
test is moved to the open repo.
PS: I have added "Toolkit.getDefaultToolkit().getSystemEventQueue().push(q)" otherwise
the test hang when executed via command line.
The test in question posts a number of events to the EventQueue and
checks that all events are dispatched. But it had incorrect assumption
that "while(q.peekEvent()!=null)" guarantees that all events were dispatched.
In some rare cases, it is possible that peekEvent () returns null because
the last event was removed from the queue, but this event was not necessarily
dispatched at that moment.
An updated test now uses "CountDownLatch" for proper synchronization and the
test is moved to the open repo.
PS: I have added "Toolkit.getDefaultToolkit().getSystemEventQueue().push(q)" otherwise
the test hang when executed via command line.
- backported by
-
JDK-8239403 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
-
JDK-8241281 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
-
JDK-8245972 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
-
JDK-8256627 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
-
JDK-8256909 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
-
JDK-8262611 Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
- Resolved
- links to
(1 backported by, 1 links to)