A tiny bug in jdk7-b87

ChenGuang Sun suncg03 at gmail.com
Fri Jul 16 18:22:28 PDT 2010


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