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]

Patch: Compiler bug workaround


I'm checking this in order to triage the X86 bootstrap. I will post a PR 
on the actual compiler bug later.

regards

Bryce.


2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

        * java/awt/image/MemoryImageSource.java (newPixels(byte[], 
ColorModel, 
        int, int):  Remove empty "if" statement to work around compiler bug.
        (newPixels(int[], ColorModel, int, int): Likewise.

RCS file: /cvs/gcc/egcs/libjava/java/awt/image/MemoryImageSource.java,v
retrieving revision 1.1
diff -u -r1.1 MemoryImageSource.java
--- MemoryImageSource.java      2002/01/24 01:05:12     1.1
+++ MemoryImageSource.java      2002/01/26 08:29:47
@@ -312,10 +312,7 @@
                                       int scansize)
 
     {
-       if( animated == true )
-           {
-               //FIXME
-           }
+      // FIXME
     }
 
     public synchronized void newPixels(int newpix[],
@@ -324,10 +321,7 @@
                                       int scansize)
 
     {
-       if( animated == true )
-           {
-               //FIXME
-           }
+      // FIXME
     }
 
 }



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