This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Fix to EventQueue 3/7
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 16 Jan 2004 17:15:21 -0500
- Subject: Re: [PATCH] Fix to EventQueue 3/7
- References: <40081C3E.7050005@redhat.com>
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)