FileInputStream and FileOutputStream implSpec should be corrected or removed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 21
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: