A tiny bug in jdk7-b87
ChenGuang Sun
suncg03 at gmail.com
Fri Jul 16 18:28:42 PDT 2010
Hi,
Forget it. I'm sorry I misunderstood the meaning of the code.
There is no bug there.
Thanks,
Chenguang
On Fri, Jul 16, 2010 at 9:22 PM, ChenGuang Sun <suncg03 at gmail.com> wrote:
> Hi,
>
> I guess there is a tiny bug in MethodMatcher::match(symbolHandle
> candidate, symbolHandle match, Mode match_mode)
>
> Instead of:
>
> case Substring:
> return strstr(candidate_string, match_string) != NULL;
>
> I think it should be:
>
> case Substring:
> return strstr(match_string, candidate_string) != NULL;
>
> I'm not sure whether it has been fixed in later versions.
>
> Thanks,
> Chenguang
>
More information about the hotspot-compiler-dev
mailing list