hg: jdk8/tl/jdk: 6708398: Support integer overflow

xueming.shen at oracle.com xueming.shen at oracle.com
Thu Feb 16 19:38:48 UTC 2012


Changeset: b971b51bec01
Author:    sherman
Date:      2012-02-16 11:43 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b971b51bec01

6708398: Support integer overflow
Summary: Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes
Reviewed-by: emcmanus
Contributed-by: roger.riggs at oracle.com

! src/share/classes/java/lang/Math.java
! src/share/classes/java/lang/StrictMath.java
+ test/java/lang/Math/ExactArithTests.java
+ test/java/lang/StrictMath/ExactArithTests.java




More information about the security-dev mailing list