RFR: 8336492: Regression in lambda serialization [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jul 29 15:01:17 UTC 2024


On Fri, 26 Jul 2024 18:59:29 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add more docs to CaptureScanner, and make fields private/final
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java line 1327:
> 
>> 1325:      * Simple subclass modelling the translation context of a method reference.
>> 1326:      */
>> 1327:     final class ReferenceTranslationContext extends TranslationContext<JCMemberReference> {
> 
> minor, we can probably remove this class it is not adding any behavior

Addressed [here](https://github.com/openjdk/jdk/pull/20349/commits/fcbbfeb111f0894f706af6c82187f3192ba3b327)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20349#discussion_r1695388323


More information about the compiler-dev mailing list