RFR (XS): 8004661: Comment and function name java_lang_String::toHash is wrong

Bengt Rutisson bengt.rutisson at oracle.com
Wed Dec 12 04:15:05 PST 2012


Hi Erik,

Shouldn't the method be called hash_code() rather than hashCode() ?

Other than that it looks good to me.

Bengt

On 12/12/12 10:27 AM, Erik Helin wrote:
> Hi all,
>
> the webrev is located at:
> http://cr.openjdk.java.net/~ehelin/8004661/webrev.00/
>
> Bug:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004661
>
> Summary:
> I've renamed the function to_hash to hashCode and also updated the 
> comments to use hashCode instead of to_hash.
>
> Testing:
> JPRT
>
> Thanks,
> Erik
>



More information about the hotspot-runtime-dev mailing list