On Mon, 25 Sep 2023 15:52:12 GMT, Aleksei Voitylov <avoity...@openjdk.org> 
wrote:

> test java.lang.String.RegionMatches1Tests fails on all platforms with 
> -XX:-CompactStrings option and on ARM32 where Compact Strings is disabled by 
> default. The fix is to return true immediately if len is negative, since for 
> negative length this condition will never be satisfied.
> 
> Testing: JCK, JTREG passed with the fix with -XX:-CompactStrings on x86_64 
> and on ARM32.

This pull request has now been integrated.

Changeset: cfcbfc6c
Author:    Aleksei Voitylov <avoity...@openjdk.org>
Committer: Roger Riggs <rri...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/cfcbfc6cae7d8fc276c5a54917e97adea7cf5621
Stats:     29 lines in 2 files changed: 21 ins; 1 del; 7 mod

8316879: RegionMatches1Tests fails if CompactStrings are disabled after 
JDK-8302163

Reviewed-by: simonis, rgiulietti, rriggs

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

PR: https://git.openjdk.org/jdk/pull/15906

Reply via email to