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.

Might be a good idea to add a simple regressions test.

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

PR Comment: https://git.openjdk.org/jdk/pull/15906#issuecomment-1734269182

Reply via email to