RFR JDK-8183548: Comma-expressions shouldn't use any temporary variable
B. Blaser
bsrbnd at gmail.com
Wed Sep 12 21:49:31 UTC 2018
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