[jdk17u] Integrated: 8273375: Remove redundant 'new String' calls after concatenation in java.desktop
Olga Mikhaltsova
omikhaltcova at openjdk.java.net
Mon Sep 27 14:15:54 UTC 2021
On Fri, 24 Sep 2021 15:32:12 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:
> I'd like to backport JDK-8273375 to jdk17u.
> The original patch applied cleanly.
> The fix removes unnesessary 'new String' calls because the result of strings' concatenation is already a newly created String object.
This pull request has now been integrated.
Changeset: 227e159d
Author: Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL: https://git.openjdk.java.net/jdk17u/commit/227e159de1dd5b387a52a63c0111bf5abcb1424f
Stats: 96 lines in 15 files changed: 13 ins; 3 del; 80 mod
8273375: Remove redundant 'new String' calls after concatenation in java.desktop
Backport-of: 59c9f750414e4f131c906a5bc20f32f2f9cfe9ec
-------------
PR: https://git.openjdk.java.net/jdk17u/pull/88
More information about the jdk-updates-dev
mailing list