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

Wrong translation of capturing local classes inside nested lambdas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • None
    • tools
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: