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

Update java.base module to use new try-with-resources statement

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b47

    Backports

      Description

        The new and improved try-with-resources statement (JDK-7196163) allow a final or effectively final resource to be used directly without a new resource being declared.

        The java.base module should take advantage of this facility.

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: