The divideUnsigned and remainderUnsigned methods for ints and longs throw ArithmeticExceptions for a zero divisor (as expected). However, this behavior is not documented in throws clauses of the methods in question.
- csr for
-
JDK-8375244 Document existing exceptional behavior of divideUnsigned and remainderUnsigned
-
- Closed
-
- relates to
-
JDK-8338529 Initial iteration of numerics modeling interfaces
-
- In Progress
-
-
JDK-4504839 Java libraries should provide support for unsigned integer arithmetic
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/a7507ffa
-
Review(master)
openjdk/jdk/29215