changeset 5047:6069fe8ffead

7173329: Fix build broken by 7126277 to jdk7u-dev Reviewed-by: ahgross
author mduigou
date Thu, 31 May 2012 14:09:31 -0700
parents e1c679a00712
children 421b71e31687
files src/share/classes/java/lang/String.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/String.java	Thu May 17 10:06:19 2012 -0700
+++ b/src/share/classes/java/lang/String.java	Thu May 31 14:09:31 2012 -0700
@@ -3089,7 +3089,7 @@
         int h = hash32;
         if (0 == h) {
            // harmless data race on hash32 here.
-           h = sun.misc.Hashing.murmur3_32(HASHING_SEED, value, offset, count);
+           h = sun.misc.Hashing.murmur3_32(HASHING_SEED, value, 0, value.length);
 
            // ensure result is not zero to avoid recalcing
            h = (0 != h) ? h : 1;