Apache ANT has the target called image which actually uses Suns Java Advanced Imaging API (JAI). JAI intern uses the functions in suncompat.jar. Unit tests pertaining to image target is failing with the exception[1] when run with HDK.
I read the mailing list http://harmony.markmail.org/message/7dzju3fmkvi3hpeb?q=suncompat which talks about why suncompat is not included in boot classpath and the purpose of suncompat jar. But when i enabled the suncompat.jar in boot classpath, I get the exception [1]. So it looks like suncompat libraries in hdk is outdated. Also I believe we dont have the specification to update. Any thoughts on this ? [1] Exception : Caused by: java.lang.NoSuchMethodError: com/sun/image/codec/jpeg/JPEGCodec.createJPEGDecoder(Ljava/io/InputStream;)Lcom/ sun/image/codec/jpeg/JPEGImageDecoder; while resolving constant pool entry at index 7 in class com/sun/media/jai/codecim pl/JPEGImage at com.sun.media.jai.codecimpl.JPEGImage.<init>(JPEGImageDecoder.java:106) at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46) at com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:88) at com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:43) at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) ... 23 more Thanks and Regards, Mohan