# HG changeset patch # User darcy # Date 1463966582 25200 # Node ID f521277035db003f1ca6abffe3fc50774fec49dc # Parent 6cf90640c38c6a22de903ac60bccd9b25776dfaa 8157527: Replace @since 1.9 with @since 9 on new math methods Reviewed-by: chegar diff -r 6cf90640c38c -r f521277035db jdk/src/java.base/share/classes/java/lang/Math.java --- a/jdk/src/java.base/share/classes/java/lang/Math.java Sun May 22 19:06:23 2016 +0100 +++ b/jdk/src/java.base/share/classes/java/lang/Math.java Sun May 22 18:23:02 2016 -0700 @@ -916,7 +916,7 @@ * @param y the second value * @return the result * @throws ArithmeticException if the result overflows a long - * @since 1.9 + * @since 9 */ public static long multiplyExact(long x, int y) { return multiplyExact(x, (long)y); @@ -1186,7 +1186,7 @@ * @throws ArithmeticException if the divisor {@code y} is zero * @see #floorMod(long, int) * @see #floor(double) - * @since 1.9 + * @since 9 */ public static long floorDiv(long x, int y) { return floorDiv(x, (long)y); @@ -1294,7 +1294,7 @@ * @return the floor modulus {@code x - (floorDiv(x, y) * y)} * @throws ArithmeticException if the divisor {@code y} is zero * @see #floorDiv(long, int) - * @since 1.9 + * @since 9 */ public static int floorMod(long x, int y) { // Result cannot overflow the range of int. diff -r 6cf90640c38c -r f521277035db jdk/src/java.base/share/classes/java/lang/StrictMath.java --- a/jdk/src/java.base/share/classes/java/lang/StrictMath.java Sun May 22 19:06:23 2016 +0100 +++ b/jdk/src/java.base/share/classes/java/lang/StrictMath.java Sun May 22 18:23:02 2016 -0700 @@ -811,7 +811,7 @@ * @return the result * @throws ArithmeticException if the result overflows a long * @see Math#multiplyExact(long,int) - * @since 1.9 + * @since 9 */ public static long multiplyExact(long x, int y) { return Math.multiplyExact(x, y); @@ -853,7 +853,7 @@ * @param y the second value * @return the result * @see Math#multiplyFull(int,int) - * @since 1.9 + * @since 9 */ public static long multiplyFull(int x, int y) { return Math.multiplyFull(x, y); @@ -867,7 +867,7 @@ * @param y the second value * @return the result * @see Math#multiplyHigh(long,long) - * @since 1.9 + * @since 9 */ public static long multiplyHigh(long x, long y) { return Math.multiplyHigh(x, y); @@ -915,7 +915,7 @@ * @throws ArithmeticException if the divisor {@code y} is zero * @see Math#floorDiv(long, int) * @see Math#floor(double) - * @since 1.9 + * @since 9 */ public static long floorDiv(long x, int y) { return Math.floorDiv(x, y); @@ -994,7 +994,7 @@ * @throws ArithmeticException if the divisor {@code y} is zero * @see Math#floorMod(long, int) * @see StrictMath#floorDiv(long, int) - * @since 1.9 + * @since 9 */ public static int floorMod(long x, int y) { return Math.floorMod(x , y);