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

FileInputStream and FileOutputStream implSpec should be corrected or removed

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: