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

Remove COSDocument#finalize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • Parsing, PDModel
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: