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

PDFDebugger: JComboBox does not take generic parameters in Java 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.12, 2.0.13
    • 2.0.13
    • Swing GUI

    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

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

            Dates

              Created:
              Updated:
              Resolved: