pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmeran Seehuber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-4365) PDFDebugger: JComboBox does not take generic parameters in Java 1.6
Date Tue, 30 Oct 2018 09:50:00 GMT
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


Mime
View raw message