This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: tiny GdkPixbufDecoder fix
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 02 Dec 2003 15:13:25 -0500
- Subject: Patch: FYI: tiny GdkPixbufDecoder fix
Hi,
This bug was caught by jikes and missed by gcj. createBufferedImage, a
static method, was trying to create an instance of BufferedImageBuilder,
a non-static class. I committed the patch to the trunk.
Tom
2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
BufferedImageBuilder class static.
Index: gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
===================================================================
RCS file:
/cvs/gcc/gcc/libjava/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gnu/java/awt/peer/gtk/GdkPixbufDecoder.java 12 Nov 2003 00:37:33
-0000 1.2
+++ gnu/java/awt/peer/gtk/GdkPixbufDecoder.java 2 Dec 2003 19:56:30
-0000 1.3
@@ -152,7 +152,7 @@
// this ought to be fairly straightforward, but it does not appear
// anywhere else I can find.
- private class BufferedImageBuilder implements ImageConsumer
+ private static class BufferedImageBuilder implements ImageConsumer
{
BufferedImage bufferedImage;
ColorModel defaultModel;