Update java.base classes to use try-with-resources

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 19
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b05

      java.base have several opportunities to use the "try-with-resources" feature. Using this feature will help ensure that resources are closed properly, especially in case exceptions are thrown. A couple related cleanups in these files are also necessary.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: