Skip to content

Failes when using JDK9 #44

Open
Open
@chekanov

Description

@chekanov

Here is the problem with this library running on JDK9. This issue was discussed here:
https://stackoverflow.com/questions/46746962/jdk9-problems-failes-running-simple-java-code

Exception in thread "main" java.lang.IllegalArgumentException: org.freehep.graphicsbase.util.export.ExportFileType is not an ImageIO SPI class
   at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:745)
   at java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:140)
   at org.freehep.graphicsbase.util.export.ExportFileTypeRegistry.<init>(ExportFileTypeRegistry.java:33)
   at org.freehep.graphicsbase.util.export.ExportFileTypeRegistry.getDefaultInstance(ExportFileTypeRegistry.java:44)
   at org.freehep.graphicsbase.util.export.ExportFileType.getExportFileTypes(ExportFileType.java:180)
   at org.freehep.graphicsbase.util.export.ExportFileType.getExportFileTypes(ExportFileType.java:172)
   at org.freehep.graphicsbase.util.export.ExportDialog.addAllExportFileTypes(ExportDialog.java:64)
   at org.freehep.graphicsbase.util.export.ExportDialog.<init>(ExportDialog.java:130)
   at org.freehep.graphicsbase.util.export.ExportDialog.<init>(ExportDialog.java:90)
   at org.freehep.graphicsbase.util.export.ExportDialog.<init>(ExportDialog.java:82)
   at org.freehep.graphicsio.test.TestingFrame.<init>(TestingFrame.java:56)
   at org.freehep.graphicsio.test.TestApplication.main(TestApplication.java:15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions