This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: Compiler bug workaround
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 26 Jan 2002 21:34:47 +1300
- Subject: 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
}
}