RFR: JDK-8273914: Indy string concat changes order of operations
shade at openjdk.java.net
Thu Oct 7 10:05:08 UTC 2021
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`.
Thank you for fixing this. It looks nominally fine, but I would defer to javac experts to approve this. Minor testing suggestions below.
More information about the hotspot-runtime-dev