-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.7.0_04" java version "1.6.0"
ADDITIONAL OS VERSION INFORMATION :
JDK 1.7 Version
=============
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
JDK 1.6 version
=============
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
ReOpen the issue Bug ID: 7190798.
Please provide the justification for the above bug.
Since the hashcode should return the same value for the same string irrespetive of execution times.
If java 7 works fine then please provide the justification for the changes in the hascode values.
As per my understanding if hashcode differ then equals method would fail int that case, even if we expect to get true for equals.
Please correct me if am wrong with explaination and also porvide clear explaination for the unstable value of hashcode in java 7.
Thanks in advance.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Please refer : Bug ID: 7190798.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Please refer : Bug ID: 7190798.
ACTUAL -
Please refer : Bug ID: 7190798.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Please refer : Bug ID: 7190798.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Please refer : Bug ID: 7190798.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Please refer : Bug ID: 7190798.
java version "1.7.0_04" java version "1.6.0"
ADDITIONAL OS VERSION INFORMATION :
JDK 1.7 Version
=============
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
JDK 1.6 version
=============
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
ReOpen the issue Bug ID: 7190798.
Please provide the justification for the above bug.
Since the hashcode should return the same value for the same string irrespetive of execution times.
If java 7 works fine then please provide the justification for the changes in the hascode values.
As per my understanding if hashcode differ then equals method would fail int that case, even if we expect to get true for equals.
Please correct me if am wrong with explaination and also porvide clear explaination for the unstable value of hashcode in java 7.
Thanks in advance.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Please refer : Bug ID: 7190798.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Please refer : Bug ID: 7190798.
ACTUAL -
Please refer : Bug ID: 7190798.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Please refer : Bug ID: 7190798.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Please refer : Bug ID: 7190798.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Please refer : Bug ID: 7190798.
- duplicates
-
JDK-7190798 java enum hashcode not stable among JDK 7
-
- Closed
-