pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-4365) PDFDebugger: JComboBox does not take generic parameters in Java 1.6
Date Tue, 30 Oct 2018 18:29:01 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr resolved PDFBOX-4365.
-------------------------------------
    Resolution: Fixed

> 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.12, 2.0.13
>            Reporter: Emmeran Seehuber
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: generics
>             Fix For: 2.0.13
>
>
> 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