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

Remove COSDocument#finalize

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0 PDFBox
    • Fix Version/s: 3.0.0 PDFBox
    • Component/s: Parsing, PDModel
    • Labels:
      None

      Description

      PDDocument implements the Closeable interface a closes the underlying instance of COSDocument once it is closed itself, so that there is no need to use the finalize method to perform a sanity check about not closed resources. Furthermore it is a bad idea to overwrite finalize for different good reasons. See PDFBOX-4202 for some additional information

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              lehmi Andreas Lehmkühler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: