Classes from com.sun.image.codec.jpeg.* is deprecated [javac] D:\dev\eclipse-workspace\kaptcha\src\java\com\google\code\kaptcha\se rvlet\KaptchaServlet.java:18: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release [javac] import com.sun.image.codec.jpeg.JPEGCodec; [javac] ^ Attached is a patch that replace them with ImageIO to generate the JPG image.
Mar 11, 2008
You replaced tabs with spaces. Please upload a patch that doesn't do that. ;-)
Mar 12, 2008
Take 2, patch with the tabs preserved.
Mar 13, 2008
did a bit of refactoring on this patch. there was already an init() method.
|► Sign in to add a comment|