Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4365

PDFDebugger: JComboBox does not take generic parameters in Java 1.6

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.12, 2.0.13
    • Fix Version/s: 2.0.13
    • Component/s: Swing GUI
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              rototor Emmeran Seehuber
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: