[OpenJDK 2D-Dev] RFR: 8264666: Reuse Math.multiplyExact/addExact in the LCMSImageLayout class
Sergey Bylokhov
serb at openjdk.java.net
Wed Apr 7 19:55:59 UTC 2021
- The hand-crafted methods for addition and multiplication are replaced by the "Math" versions.
- Cleanup: the usage of do/while(false) is removed
-------------
Commit messages:
- delete "do{...} while (false);"
- safeXX -> xxExact
Changes: https://git.openjdk.java.net/jdk/pull/3333/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3333&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8264666
Stats: 110 lines in 1 file changed: 5 ins; 36 del; 69 mod
Patch: https://git.openjdk.java.net/jdk/pull/3333.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3333/head:pull/3333
PR: https://git.openjdk.java.net/jdk/pull/3333
More information about the 2d-dev
mailing list