Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4071

jbossws-native-2.0.1.SP2_CP08 can't be build under OpenJDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.GA_CP08
    • 4.2.0.GA_CP07
    • Web Services
    • 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/

              rhn-engineering-ema Jim Ma
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: