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

Lambda Spec: Specify identification of "stuck" expressions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • specification
    • Verified

      The manner in which stuck lambdas are identified is unclear. The preference (and current implementation) is do so on a per-argument basis, even if the expression is many levels deep. Thus, a stuck lambda or method reference nested inside of a conditional or another lambda (as the lambda's return expression) "freezes" the whole argument expression -- the granularity of stuckness is per-argument, not per-subexpression. In contrast, a stuck lambda nested inside another generic method call does not "freeze" the whole method call.

            dlsmith Dan Smith
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: