Bug#760926: libapache-poi-java: ftbfs with OpenJDK 8

Emmanuel Bourg ebourg at apache.org
Fri Sep 12 22:49:04 UTC 2014


I reproduced the error, the test log contains this exception leading to
a native error inside the JDK:

Testcase: testPictures took 0.003 sec
        Caused an ERROR
com.sun.imageio.plugins.jpeg.JPEGImageReader.initReaderIDs(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
java.lang.UnsatisfiedLinkError:
com.sun.imageio.plugins.jpeg.JPEGImageReader.initReaderIDs(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.initReaderIDs(Native Method)
        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.<clinit>(JPEGImageReader.java:96)
        at
com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85)
        at
javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
        at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529)
        at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
        at javax.imageio.ImageIO.read(ImageIO.java:1443)
        at javax.imageio.ImageIO.read(ImageIO.java:1352)
        at
org.apache.poi.hssf.usermodel.TestHSSFPictureData.testPictures(TestHSSFPictureData.java:55)


This error doesn't happen with the openjdk-8 package I built in May, at
this time it still contained the embedded copy of libjpeg. Could this be
an incompatibility with the version of libjpeg in Debian?

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list