jdk/test/com/sun/net/httpserver/bugs/B6431193.java should use try-with-resource and try-finally

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: core-libs
    • b18

      This test should use try-with-resource to ensure streams are correctly closed, and should use try-finally to make sure the server is properly stopped before the test exits.

            Assignee:
            Darragh Clarke
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: