changeset in /hg/icedtea6: 2009-04-24 Xerxes R?nby <xerxes at zafen...

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Apr 24 08:39:53 PDT 2009


2009/4/24 Xerxes R?nby <xerxes at zafena.se>:
> changeset 03f65b9f0411 in /hg/icedtea6
> details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=03f65b9f0411
> description:
>        2009-04-24 Xerxes R?nby <xerxes at zafena.se>
>
>                * patches/icedtea-jpegclasses.patch
>                (openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java
>                setJPEGEncodeParam): New function.
>
> diffstat:
>
> 2 files changed, 11 insertions(+), 1 deletion(-)
> ChangeLog                         |    6 ++++++
> patches/icedtea-jpegclasses.patch |    6 +++++-
>
> diffs (36 lines):
>
> diff -r 46128f71ec57 -r 03f65b9f0411 ChangeLog
> --- a/ChangeLog Thu Apr 23 14:35:50 2009 -0400
> +++ b/ChangeLog Fri Apr 24 15:37:48 2009 +0200
> @@ -1,3 +1,9 @@ 2009-04-23 Deepak Bhole <dbhole at redhat.c
> +2009-04-24 Xerxes Rånby <xerxes at zafena.se>
> +
> +        * patches/icedtea-jpegclasses.patch
> +        (openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java
> +        setJPEGEncodeParam): New function.
> +
>  2009-04-23 Deepak Bhole <dbhole at redhat.com>
>
>        * rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Handle nested
> diff -r 46128f71ec57 -r 03f65b9f0411 patches/icedtea-jpegclasses.patch
> --- a/patches/icedtea-jpegclasses.patch Thu Apr 23 14:35:50 2009 -0400
> +++ b/patches/icedtea-jpegclasses.patch Fri Apr 24 15:37:48 2009 +0200
> @@ -467,7 +467,7 @@ diff -ruN openjdkold/jdk/src/share/class
>  diff -ruN openjdkold/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java
>  --- openjdkold/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java    1969-12-31 19:00:00.000000000 -0500
>  +++ openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java       2008-03-31 18:04:57.000000000 -0400
> -@@ -0,0 +1,67 @@
> +@@ -0,0 +1,71 @@
>  +/* JPEGImageEncoder.java --
>  +   Copyright (C) 2007 Free Software Foundation, Inc.
>  +
> @@ -520,6 +520,10 @@ diff -ruN openjdkold/jdk/src/share/class
>  +      public JPEGEncodeParam getDefaultJPEGEncodeParam(BufferedImage bi)
>  +      {
>  +              return null;
> ++      }
> ++
> ++      public void setJPEGEncodeParam(JPEGEncodeParam p)
> ++      {
>  +      }
>  +
>  +      public void encode(BufferedImage bi, JPEGEncodeParam p)
>

We shouldn't be adding such stubs; that's just asking for more
trouble.  The program in question should be updated to use
javax.imageio.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list