[jbossws-issues] [JBoss JIRA] Created: (JBWS-2992) jbossws-native-2.0.1.SP2_CP08 can't be build under OpenJDK
Rostislav Svoboda (JIRA)
jira-events at lists.jboss.org
Wed Apr 7 09:28:37 EDT 2010
jbossws-native-2.0.1.SP2_CP08 can't be build under OpenJDK
----------------------------------------------------------
Key: JBWS-2992
URL: https://jira.jboss.org/jira/browse/JBWS-2992
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-2.0.1.SP2
Environment: soa6-rhel5-x86_64
java-1.6.0-openjdk-1.6.0.0
Reporter: Rostislav Svoboda
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/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list