You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Emmeran Seehuber (JIRA)" <ji...@apache.org> on 2018/10/30 09:50:00 UTC

[jira] [Created] (PDFBOX-4365) PDFDebugger: JComboBox does not take generic parameters in Java 1.6

Emmeran Seehuber created PDFBOX-4365:
----------------------------------------

             Summary: PDFDebugger: JComboBox does not take generic parameters in Java 1.6
                 Key: PDFBOX-4365
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4365
             Project: PDFBox
          Issue Type: Bug
          Components: Swing GUI
    Affects Versions: 2.0.13
            Reporter: Emmeran Seehuber


In the pdfbox-debugger/StreamPane.java:168 you are using generics with a JComboBox.

This causes a compile error when targeting JDK 1.6, as JComboBox does only take a generic parameter since 1.7 AFAIR. I assume that this code will not run on JDK 1.6, you may get it to compile with a JDK 1.7+ - but at least JDK 10 complains about this when compiling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org