Hi Brian, Do you think any tests are needed here, at least for a quick sanity check?
Thanks, -Joe On 9/28/2015 6:06 PM, Brian Burkhalter wrote:
Please review at your convenience. Issue: https://bugs.openjdk.java.net/browse/JDK-8023217 Patch: http://cr.openjdk.java.net/~bpb/8023217/webrev.00/ Summary: Add some additional methods of the same name as existing methods but with the commonly used parameter signature “long,int”: long multiplyExact(long,int) long floorDiv(long,int) int floorDiv(long,int) These methods also provide hooks for potential intrinsics. There might be room for improvement in their Java implementations. The modifications to the java.time classes are to fix warnings about “redundant cast to int.” Thanks, Brian