Patch: Compiler bug workaround
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Sat Jan 26 00:34:00 GMT 2002
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
}
}
More information about the Java-patches
mailing list