mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-28 15:51:02 +00:00
8275293: A change done with JDK-8268764 mismatches the java.rmi.server.ObjID.hashCode spec
Reviewed-by: rriggs, smarks
This commit is contained in:
parent
c94dc2ab60
commit
5bbe4cae87
@ -201,7 +201,7 @@ public final class ObjID implements Serializable {
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Long.hashCode(objNum);
|
||||
return (int) objNum;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user