This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix to EventQueue 3/7


On Fri, 2004-01-16 at 12:15, Fernando Nasser wrote:
> Just defensive programming.  Hopefully no one will use it that way.
> 
> 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
> 
>          * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
>          is called for an intermediate queue.

OK, thanks.

Tom

> Index: java/awt/EventQueue.java
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/java/awt/EventQueue.java,v
> retrieving revision 1.13
> diff -u -p -r1.13 EventQueue.java
> --- java/awt/EventQueue.java	16 Jan 2004 16:15:49 -0000	1.13
> +++ java/awt/EventQueue.java	16 Jan 2004 16:17:14 -0000
> @@ -352,7 +352,7 @@ public class EventQueue
>      // occur.
>      synchronized (prev)
>        {
> -        prev.next = null;
> +        prev.next = next;
>        }
>  
>      synchronized (this)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]