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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • 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.

            dclarke Darragh Clarke
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: