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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: