You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/04/27 22:28:13 UTC
[jira] [Comment Edited] (PDFBOX-3313) Java 9
InaccessibleObjectException
[ https://issues.apache.org/jira/browse/PDFBOX-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252204#comment-15252204 ]
Tilman Hausherr edited comment on PDFBOX-3313 at 4/27/16 8:28 PM:
------------------------------------------------------------------
I tested JDK9 for a few minutes today. I didn't do very far,
{code}
ImageIO.getImageReadersByFormatName("JPEG");
{code}
fails if jai_imageio.jar is in the class path. I've reported this in JI-9035833, resulted in https://bugs.openjdk.java.net/browse/JDK-8154860.
was (Author: tilman):
I tested JDK9 for a few minutes today. I didn't do very far,
{code}
ImageIO.getImageReadersByFormatName("JPEG");
{code}
fails if jai_imageio.jar is in the class path. I've reported this in JI-9035833, which can't be found in http://bugs.java.com.
> Java 9 InaccessibleObjectException
> ----------------------------------
>
> Key: PDFBOX-3313
> URL: https://issues.apache.org/jira/browse/PDFBOX-3313
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Labels: JDK9
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.1.0-SNAPSHOT.jar PDFToImage input.pdf
> Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make member of class com.sun.imageio.plugins.jpeg.JPEGImageReader accessible: module java.desktop does not export com.sun.imageio.plugins.jpeg to unnamed module @72d1ad2e
> at sun.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/Reflection.java:420)
> at java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/AccessibleObject.java:174)
> at java.lang.reflect.Field.checkCanSetAccessible(java.base@9-ea/Field.java:170)
> at java.lang.reflect.Field.setAccessible(java.base@9-ea/Field.java:164)
> at org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:119)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org