classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Fix for gcj compilation


From: Mark Wielaard
Subject: Re: [cp-patches] Fix for gcj compilation
Date: Mon, 29 Aug 2005 19:02:17 +0200

Hi,

On Sat, 2005-08-27 at 17:00 -0400, Andrew Pinski wrote:
> On Aug 26, 2005, at 11:39 AM, Chris Burdess wrote:
> 
> > The following patch re-enables gcj compilation of CVS HEAD.
> >
> > 2005-08-26  Chris Burdess  <address@hidden>
> >
> >   * javax/swing/text/AbstractDocument.java: Fully qualify references to
> >   ElementChange class.
> 
> Just a note this is GCJ bug 2499.

Thanks and thanks. I documented this in the source so people won't
remove it accidentially before checking the bug is fixed.

2005-08-28  Mark Wielaard  <address@hidden>

    * javax/swing/text/AbstractDocument.java (addEdit): Document gcj bug
    workaround.
    (getChange): Likewise.

Cheers,

Mark
Index: javax/swing/text/AbstractDocument.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/AbstractDocument.java,v
retrieving revision 1.25
diff -u -r1.25 AbstractDocument.java
--- javax/swing/text/AbstractDocument.java      28 Aug 2005 15:20:53 -0000      
1.25
+++ javax/swing/text/AbstractDocument.java      29 Aug 2005 16:58:03 -0000
@@ -1684,6 +1684,7 @@
      */
     public boolean addEdit(UndoableEdit edit)
     {
+      // XXX - Fully qualify ElementChange to work around gcj bug #2499.
       if (edit instanceof DocumentEvent.ElementChange)
         {
           DocumentEvent.ElementChange elEdit =
@@ -1743,6 +1744,7 @@
      */
     public DocumentEvent.ElementChange getChange(Element elem)
     {
+      // XXX - Fully qualify ElementChange to work around gcj bug #2499.
       return (DocumentEvent.ElementChange) changes.get(elem);
     }
   }

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]