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

Wrong translation of capturing local classes inside nested lambdas

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      Capturing local classes inside nested lambdas aren't translated correctly, see:

      http://mail.openjdk.java.net/pipermail/compiler-dev/2020-December/015832.html

      The problem seems to be that 'lambdaTranslationMap' links the untranslated local variable to its capture, see:

      http://mail.openjdk.java.net/pipermail/compiler-dev/2020-December/015865.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlahoda Jan Lahoda
              Reporter:
              bsrbnd Bernard Blaser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: