Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6694060
Votes 0
Synopsis 6638195 RFE(need API for EventQueueDelegate) regression testcase fails from 6u10_b12 onwards
Category java:classes_awt
Reported Against
Release Fixed 6u10(b26)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6638195
Submit Date 25-APR-2008
Description
http://monaco.sfbay.sun.com/detail.jsf?cr=6638195( RFE: need API for EventQueueDelegate) /test/java/awt/EventQueue/6638195/bug6638195.java fails atleast from 6u10_b12 onwards. Its not consistent in 6u10_b11.  There is no other means of verifing this RFE other that this regression testcase. 

I have attached the .jtr log file.
Posted Date : 2008-04-25 12:26:54.0
Work Around
N/A
Evaluation
=== bug6638195.java ====

56c56
<                 public Void call() {
---
>                 public Void call() throws Exception {
71c71
<                 public Object call() {
---
>                 public Object call() throws Exception {
97,100c97,100
<         private volatile boolean getNextEventInvoked = false;
<         private volatile boolean beforeDispatchInvoked = false;
<         private volatile boolean afterDispatchInvoked = false;
<         public AWTEvent getNextEvent(EventQueue eventQueue)
---
>         private boolean getNextEventInvoked = false;
>         private boolean beforeDispatchInvoked = false;
>         private boolean afterDispatchInvoked = false;
>         public synchronized AWTEvent getNextEvent(EventQueue eventQueue)
105c105
<         public Object beforeDispatch(AWTEvent event) {
---
>         public synchronized Object beforeDispatch(AWTEvent event) {
109c109
<         public void afterDispatch(AWTEvent event, Object handle) {
---
>         public synchronized void afterDispatch(AWTEvent event, Object handle) {
112c112
<         private boolean allInvoked() {
---
>         private synchronized boolean allInvoked() {
==========

This fixes the compilation problem and hopefully should fix test failures.
Posted Date : 2008-06-09 18:10:36.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang