Fix reference to implMethodKind in LambdaToMethod debug printf statement

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools

      LambdaToMethod contains some commented-out printf statements for debugging:

      https://github.com/openjdk/jdk/blob/7c979c148724ab7de650593caa22df8405d740e5/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java#L746-L755

      There are useful for debugging the behaviour of the generated $deserialize$ method, e.g. for issues like JDK-8208752.

      One of the printf statements references implMethodKind, which doesn't exist.

      The cleanup proposes extracting a local for implMethodKind, to allow that printf statement to work.

            Assignee:
            Liam Miller-Cushon
            Reporter:
            Liam Miller-Cushon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: