bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22909] ImageIO.java : bad cast?


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22909] ImageIO.java : bad cast?
Date: 16 Oct 2005 01:27:39 -0000

In the filter() method of the static class ReaderFormatFilter (around line 81
of the ImageIO.java source file) there is this code:

if (provider instanceof ImageReaderSpi)
  {
    ImageWriterSpi spi = (ImageWriterSpi) provider;
    ...

I'm guessing that ImageWriterSpi should be replaced with ImageReaderSpi.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22909





reply via email to

[Prev in Thread] Current Thread [Next in Thread]