-
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.
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.
- links to
-
Review(master)
openjdk/jdk/29072