RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} where possible [v8]
    Yi Yang 
    yyang at openjdk.java.net
       
    Wed Jun 23 03:54:55 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:
  tests rely on IOOBE exception message
-------------
Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4507/files
  - new: https://git.openjdk.java.net/jdk/pull/4507/files/2330ee38..ab1b509d
Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4507&range=07
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4507&range=06-07
  Stats: 104 lines in 2 files changed: 18 ins; 2 del; 84 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 serviceability-dev
mailing list