Integrated: JDK-8273914: Indy string concat changes order of operations

Liam Miller-Cushon cushon at openjdk.java.net
Tue Jan 11 15:48:34 UTC 2022


On Wed, 6 Oct 2021 21:00:04 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change makes string concatenation call `toString` on the arguments eagerly, to preserve the correct evaluation order of the arguments and the calls to `toString`.

This pull request has now been integrated.

Changeset: cfee4512
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cfee4512f7048e9cf440078e9eb87d37c7ebcdd9
Stats:     532 lines in 8 files changed: 473 ins; 20 del; 39 mod

8273914: Indy string concat changes order of operations

Reviewed-by: vromero, jlahoda

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

PR: https://git.openjdk.java.net/jdk/pull/5844


More information about the compiler-dev mailing list