JDK-2228719 : REGRESSION: closed/java/awt/EventQueue/PostEventOrderingTest.java fails
  • Type: Backport
  • Backport of: JDK-7188708
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-08-21
  • Updated: 2013-05-31
  • Resolved: 2012-09-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u40 b08Fixed
Description
see comments

Comments
Regression Test: closed/java/awt/EventQueue/PostEventOrderingTest.java Fix was Verified on Windows, Linux, Solaris and Mac. Closing Issue.
31-05-2013

/test: http://closedjdk.sfbay.sun.com/jdk7u/jdk7u-dev/jdk/test/closed/file/4a78e38dd5b9/java/awt/EventQueue/PostEventOrderingTest.java
04-12-2012

EVALUATION Yes, it's a regression of 7177040. The reason is that isFlushingPendingEvents in SunToolkit.flushPendingEvents() is reset after the first recursive call of flushPendingEvents(). Thus, if there are several pending events in PostEventQueue, recursion would be rejected only for the first event, allowing nested call of PostEventQueue.flush().
06-09-2012

EVALUATION Looks like a regression of 7177040. I should build jdk7u8 without the fix to verify this.
30-08-2012