-
Bug
-
Resolution: Done
-
Major
-
4.2.0.GA_CP07
-
None
-
soa6-rhel5-x86_64
java-1.6.0-openjdk-1.6.0.0
Compilation fails on src/main/java/org/jboss/ws/core/utils/MimeUtils.java:248
exception java.io.IOException is never thrown in body of corresponding try statement
MimeUtils.java uses Sun proprietary API (import com.sun.image.codec.jpeg.*) and this functionality should be rewritten using public ImageIO interface.
See for example http://developer.classpath.org/mediation/ClasspathMigration#head-d4ee9efe53a641e29ffdcd96e985bf38bbc671c1
OpenJDK implementation of JPEGImageEncoder isn't even interface and it throws no exception, checked in source code from http://download.java.net/openjdk/jdk6/
- blocks
-
JBPAPP-2837 Release and upgrade to JBossWS 2.0.1.SP2_CP08
- Closed
- incorporates
-
JBWS-2685 Remove dependency on Sun's JVM proprietary APIs
- Closed