RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} where possible [v3]
Yi Yang
yyang at openjdk.java.net
Mon Jun 21 03:25:00 UTC 2021
> After JDK-8265518(#3615), it's possible to replace all variants of checkIndex by Objects.checkIndex/Objects.checkFromToIndex/Objects.checkFromIndexSize in the whole JDK codebase.
Yi Yang has updated the pull request incrementally with one additional commit since the last revision:
new Preconditions.IOOBE_FORMATTER
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4507/files
- new: https://git.openjdk.java.net/jdk/pull/4507/files/ec0a4d44..c1dd2f76
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4507&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4507&range=01-02
Stats: 129 lines in 13 files changed: 43 ins; 40 del; 46 mod
Patch: https://git.openjdk.java.net/jdk/pull/4507.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4507/head:pull/4507
PR: https://git.openjdk.java.net/jdk/pull/4507
More information about the security-dev
mailing list