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

Project Coin: remove general expression support from try-with-resources statement

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b130
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Discussion with the JSR 334 expert group has determined it is neither necessary nor desirable to support the general expression form of try-with-resources in JDK 7. That is the form:

      try(Expression) {...}

      rather than

      try(ResourceType resourceVariable = Expression)

      Support for this should be removed from the specification and compiler.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: