Bug 22821 - Missing methods in javax.imageio
Summary: Missing methods in javax.imageio
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.19
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-23 03:47 UTC by from-classpath
Modified: 2006-02-06 10:47 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-08-25 20:07:29


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2004-12-23 03:47:24 UTC
Need i say more than the following?

    [javac] Found 3 semantic errors compiling "/home/dims/ws-axis/java/src/org/apache/axis/components/image/MerlinIO.java":
 
    [javac]     51.         writer.setOutput(javax.imageio.ImageIO.createImageOutputStream(os));
    [javac]                                  ^-----------------------------------------------^
    [javac] *** Semantic Error: No accessible method with signature "createImageOutputStream(java.io.OutputStream)" was found in type "javax.imageio.ImageIO".
 
 
    [javac]     63.         writer.write(new IIOImage(rendImage, null, null));
    [javac]                 ^-----------------------------------------------^
    [javac] *** Semantic Error: No applicable overload for a method with signature "write(javax.imageio.IIOImage)" was found in type "javax.imageio.ImageWriter". Perhaps you wanted the overloaded version "void write(javax.imageio.metadata.IIOMetadata $1, javax.imageio.IIOImage $2, javax.imageio.ImageWriteParam $3) throws java.io.IOException;" instead?
 
 
    [javac]     73.         return javax.imageio.ImageIO.read(in);
    [javac]                        ^----------------------------^
    [javac] *** Semantic Error: No accessible method with signature "read(java.io.InputStream)" was found in type "javax.imageio.ImageIO".

Thanks,
dims
Comment 1 from-classpath 2005-01-11 22:54:51 UTC
ImageIO.read(..) is implement in classpath CVS now. The rest is still missing.
Comment 2 Andrew Pinski 2005-08-25 20:07:29 UTC
Confirmed.
Comment 3 Paul Jenner 2006-02-06 10:26:51 UTC
Looks to have been resolved by following commits in time for Classpath 0.19:

http://cvs.savannah.gnu.org/viewcvs/classpath/javax/imageio/ImageIO.java?root=classpath&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/imageio/ImageWriter.java?root=classpath&r1=1.6&r2=1.7

Can you confirm working now with Classpath 0.19 (or better Classpath 0.20)?
Comment 4 Mark Wielaard 2006-02-06 10:47:33 UTC
Closing as fixed. The reporter was from the old savannah system (so sadly not easily reachable now) and the methods are there now. Thanks for going over these bug reports Paul!