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

Wrong translation of capturing local classes inside nested lambdas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • None
    • tools
    • None
    • b12

      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

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

              Created:
              Updated:
              Resolved: