RFR JDK-8183548: Comma-expressions shouldn't use any temporary variable
Vicente Romero
vicente.romero at oracle.com
Thu Sep 13 16:18:26 UTC 2018
looks good to me,
Vicente
On 09/12/2018 05:49 PM, B. Blaser wrote:
> On Wed, 12 Sep 2018 at 21:28, B. Blaser <bsrbnd at gmail.com> wrote:
>> Hi,
>>
>> Please review the following straightforward fix for [1] to avoid using
>> any temporary variable in comma expressions.
>> It makes use of the recently (as part of [2]) enhanced 'LetExpr' to
>> allow more than one statement.
>>
>> Any feedback is welcome (langtools:tier1 is OK),
>> Bernard
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8183548
>> [2] http://mail.openjdk.java.net/pipermail/compiler-dev/2018-July/012197.html
> Webrev: http://cr.openjdk.java.net/~bsrbnd/jdk8183548/webrev.00/
>
> Thanks,
> Bernard
More information about the compiler-dev
mailing list