< prev index next >
src/java.base/share/classes/java/lang/invoke/MemberName.java
Print this page
rev 14117 : 8145468: update java.lang APIs with new deprecations
Reviewed-by: XXX
*** 731,740 ****
--- 731,741 ----
assert(res.getName().equals(this.getName()));
return res;
}
@Override
+ @SuppressWarnings("deprecation")
public int hashCode() {
// Avoid autoboxing getReferenceKind(), since this is used early and will force
// early initialization of Byte$ByteCache
return Objects.hash(clazz, new Byte(getReferenceKind()), name, getType());
}
< prev index next >