RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} where possible
Alan Bateman
alanb at openjdk.java.net
Thu Jun 17 10:50:13 UTC 2021
On Thu, 17 Jun 2021 05:16:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
> There are a lot more tests than just tier1. :) I don't expect many, if any, tests to be looking for a specific IOOBE message, and I can't see an easy way to find such tests without running them. If core-libs folk are okay with this update then I guess we can just handle any test failures if they arise. But I'll run this through our tier 1-3 testing.
It would be good to run tier 1-3. Off hand I can't think of any tests that are dependent on the exception message, I think I'm more concerned about changing behavior (once you throw a more specific IOOBE is some of the very core classes then it's hard to change it because libraries get dependent on the more specific exception).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4507
More information about the serviceability-dev
mailing list