com.sun.image.codec.jpeg.* in b22
Phil Race
Phil.Race at Sun.COM
Wed Oct 17 02:09:08 UTC 2007
Look like the team that owns jaxws blew away changes that removed
dependencies on these classes
by simply overwriting everything without doing a proper merge. Not good!
Butt will be kicked.
-phil.
Lars wrote:
> When ALT_BOOTDIR and ALT_JDK_IMPORT_PATH point to an OpenJdk JDK (b21
> or b22)
> I get the following error at compile time:
>
> [javac] Compiling 2415 source files to
> /usr/src/openjdk/control/build/linux-i586/jaxws/build/classes
> [javac]
> /usr/src/openjdk/jaxws/src/share/classes/com/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler.java:34:
> package com.sun.image.codec.jpeg does not exist
> [javac] import com.sun.image.codec.jpeg.*;
> [javac] ^
> [javac]
> /usr/src/openjdk/jaxws/src/share/classes/com/sun/xml/internal/messaging/saaj/soap/JpegDataContentHandler.java:39:
> package com.sun.image.codec.jpeg does not exist
> [javac] import com.sun.image.codec.jpeg.*;
> [javac] ^
>
> I can build successfully with JDK 1.6 as the host JDK.
>
> However, then at runtime (for example when running the image example
> from Jdk 1.5 or 1.6 Java2D demos) I get this error:
>
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> com/sun/image/codec/jpeg/JPEGCodec
> at java2d.demos.Images.JPEGFlip.render(JPEGFlip.java:111)
> at java2d.Surface.paint(Surface.java:359)
> at javax.swing.JComponent.paintChildren(JComponent.java:876)
> at javax.swing.JComponent.paint(JComponent.java:1048)
> at javax.swing.JComponent.paintChildren(JComponent.java:876)
> at javax.swing.JComponent.paint(JComponent.java:1048)
>
> Looks like both compile and runtime depend on some non-free code in
> com.sun.image.jpeg...
>
More information about the build-dev
mailing list