commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #12638] ImageIO.java : bad cast?


From: David Gilbert
Subject: [commit-cp] [bug #12638] ImageIO.java : bad cast?
Date: Sun, 10 Apr 2005 20:38:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050112 Firefox/1.0

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12638>

                 Summary: ImageIO.java : bad cast?
                 Project: classpath
            Submitted by: trebligd
            Submitted on: Sun 04/10/2005 at 20:38
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12638>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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