summaryrefslogtreecommitdiff
path: root/javax/imageio/spi/IIORegistry.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/imageio/spi/IIORegistry.java')
-rw-r--r--javax/imageio/spi/IIORegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/javax/imageio/spi/IIORegistry.java b/javax/imageio/spi/IIORegistry.java
index 3e9b2c289..fae75239a 100644
--- a/javax/imageio/spi/IIORegistry.java
+++ b/javax/imageio/spi/IIORegistry.java
@@ -45,6 +45,7 @@ import java.awt.Toolkit;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
+import gnu.javax.imageio.gif.GIFImageReaderSpi;
public final class IIORegistry extends ServiceRegistry
{
@@ -81,7 +82,7 @@ public final class IIORegistry extends ServiceRegistry
super(defaultCategories.iterator());
// XXX: Register built-in Spis here.
-
+ registerServiceProvider(new GIFImageReaderSpi()); // Register GIF decoder
Toolkit toolkit = Toolkit.getDefaultToolkit();
if (toolkit instanceof ClasspathToolkit)
((ClasspathToolkit)toolkit).registerImageIOSpis(this);