[jdk8u-dev] RFR: 8069389: CompilerOracle prefix wildcarding is broken for long strings [v3]

Andrew John Hughes andrew at openjdk.org
Wed Apr 10 00:48:09 UTC 2024


On Fri, 23 Feb 2024 09:53:21 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:

>> Clean backport.
>> 
>> I've just found that the issue occurs even with short strings like "*123*", see my screenshot attached to JDK-8069389. This can be reproduced currently with "slowdebug" build on my Ubuntu 22.04 + gcc-9.5.0, however I believe we cannot rely on it isn't reproduced with "release" now.
>> 
>> Anyway, it wasn't good to use "strcpy" with overlapped buffers, because strcpy's docs says "The behavior is undefined if the strings overlap." So, I believe it should be fixed in jdk8 as well.
>
> Roman Marchenko has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   Backport 01ec6950020268a375eb5330373e6c0813f3a924

Verified clean.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk8u-dev/pull/446#pullrequestreview-1990517985


More information about the jdk8u-dev mailing list