[ 
https://issues.apache.org/jira/browse/PDFBOX-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16669160#comment-16669160
 ] 

Tilman Hausherr commented on PDFBOX-4365:
-----------------------------------------

You're right, thanks… Although I once did a build of 2.0 branch on jdk11 but 
never got an error. I'll fix it.

> 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
>            Assignee: Tilman Hausherr
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to