Re: RFR: JDK-8272192 Shortcut String equality checks by checking equality of the value array [v2]
6 Sep
2021
6 Sep
'21
10:48 p.m.
On Mon, 6 Sep 2021 06:41:38 GMT, q2q-2q2 <github.com+44376158+q2q-2q2@openjdk.org> wrote:
src/java.base/share/classes/java/lang/String.java line 1964:
1962: public boolean equalsIgnoreCase(String anotherString) { 1963: if (anotherString != null) { 1964: return false;
This one is definitely wrong.
Thank you
So that begs the question as to what testing you did for this change? ------------- PR: https://git.openjdk.java.net/jdk/pull/5370
1646
Age (days ago)
1646
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Holmes