src/share/classes/java/lang/System.java

Print this page
rev 5028 : 7126277: alternative hashing

*** 1194,1203 **** --- 1194,1206 ---- return t.getStackTraceDepth(); } public StackTraceElement getStackTraceElement(Throwable t, int i) { return t.getStackTraceElement(i); } + public int getStringHash32(String string) { + return string.hash32(); + } }); } /* returns the class of the caller. */ static Class<?> getCallerClass() {