Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8305762

FileInputStream and FileOutputStream implSpec should be corrected or removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 21
    • None
    • core-libs
    • None
    • 12
    • b19

    Description

      With the removal of the AltFinalizer mechanism from FileInputStream and FileOutputStream in JDK-8192939, this portion of the Implementation Requirement in the class JavaDoc is no longer true:

      "If this FileOutputStream has been subclassed and the close() method has been overridden, the close() method will be called when the FileInputStream is unreachable."

      Related doc improvements around cleanup and finalization could also be made, such as to the close() method.

      Attachments

        Issue Links

          Activity

            People

              bchristi Brent Christian
              bchristi Brent Christian
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: