commit | 2d32872411acb205fea39a85366d89fab0e54a71 | [log] [tgz] |
---|---|---|
author | Laurent Almeras <lalmeras@gmail.com> | Sun Mar 06 11:00:38 2022 +0100 |
committer | Jay Arthanareeswaran <jarthana@in.ibm.com> | Tue Mar 29 02:24:31 2022 -0400 |
tree | db6cc2dda369e1f24e26b1d579dfe80bf77856b6 | |
parent | def302464fee2021650fe57cc774c87dd66392da [diff] |
Bug 566155: implicit lambda compilation Constructor reference was not compiled as implicit lambda when it depends on outer instance. It does not harm code execution, but this lambda cannot be deserialized. When constructor is invoked without method reference, it generates an explicit lambda that can be correctly serialized and deseriazed. This patch modifies code generation so that implicit lambda code generation is triggered for this case. Existing testcases must be updated as error message are different when implicit lambda is detected (although the detected error is the same). Change-Id: Ic21a268d48630e87e2d766a462c26b889784af99 Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/191514 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.