Other |
---|
tbdUnresolved |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
There are unnecessary e.printStackTrace() calls in two IIO classes: com.sun.imageio.spi.FileImageOutputStreamSpi com.sun.imageio.spi.RAFImageOutputStreamSpi The printStackTrace() calls occur when a generic exception is caught in createOutputStreamInstance(). The generated console output is annoying because it cannot be supressed. It is also worth considering whether these methods should even be catching (and eating) generic exceptions. The spec does not say that null is an acceptable return value from those methods. --------------------------- There are also 2 calls to e.printStackTrace() in com.sun.imageio.plugins.png.PNGImageReader.java in IOException clauses. These should be removed as well. Also, a general run through the rest of ImageIO should be made to ensure that we don't have other stackTrace() calls lying in wait for future bug submissions; I can't see that we need or want any stack trace calls in code that users may trip over. ###@###.### 2004-09-07
|