-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 16
-
Component/s: core-libs
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Window 10
A DESCRIPTION OF THE PROBLEM :
this method should return true but returns false
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
execute method BigInteger.ZERO.equals(0)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
BigInteger.ZERO.equals(0) returns true
ACTUAL -
BigInteger.ZERO.equals(0) returns false
CUSTOMER SUBMITTED WORKAROUND :
create a new BigInteger before passing it to the equals method, which should be done inside of the BigInteger equals method for anything that is a Number
isTrue(BigInteger.ZERO.equals(BigInteger.valueOf(0)));
FREQUENCY : always
Window 10
A DESCRIPTION OF THE PROBLEM :
this method should return true but returns false
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
execute method BigInteger.ZERO.equals(0)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
BigInteger.ZERO.equals(0) returns true
ACTUAL -
BigInteger.ZERO.equals(0) returns false
CUSTOMER SUBMITTED WORKAROUND :
create a new BigInteger before passing it to the equals method, which should be done inside of the BigInteger equals method for anything that is a Number
isTrue(BigInteger.ZERO.equals(BigInteger.valueOf(0)));
FREQUENCY : always