Weaken contract of java.lang.AutoCloseable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • b108
    • generic
    • generic
    • Verified

      As revealed by work on streams in Project Lambda, the "must close" nature of the java.lang.AutoCloseable contract is too strong in some cases and should be weakened a bit to better accommodate other uses.

            Assignee:
            Henry Jen
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: