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.

          Issue Links

            Activity

            Show
            darcy Joe Darcy added a comment - Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-January/030787.html
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b1dafe86ab5c
            User: darcy
            Date: 2015-01-15 00:45:11 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b1dafe86ab5c User: darcy Date: 2015-01-15 00:45:11 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b1dafe86ab5c
            User: lana
            Date: 2015-01-21 21:54:51 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b1dafe86ab5c User: lana Date: 2015-01-21 21:54:51 +0000

              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: