RFR: 8374643: Fix reference to implMethodKind in LambdaToMethod debug printf statement

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Jan 21 11:50:07 UTC 2026


On Tue, 6 Jan 2026 22:05:39 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change extracts a local variable, to allow the commented-out printf debug statement below to work without additional modifications.
> 
> 
> System.err.printf("*implMethodKind: %d\n", implMethodKind);

If this commented code is important -- perhaps it might be better to put it behind some -XD flag? Either we support it, or we don't. If we keep it as commented code, chances are this will stray again.

-------------

PR Review: https://git.openjdk.org/jdk/pull/29072#pullrequestreview-3686771249


More information about the compiler-dev mailing list