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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 19
    • 17
    • client-libs
    • None
    • b04

    Description

      java.desktop 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: