On Thu, 4 Jan 2024 18:37:59 GMT, Markus KARG <d...@openjdk.org> wrote:
>> No: the third param of >> [Arrays.copyOfRange](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Arrays.html#copyOfRange(byte[],int,int)) >> is `to`, not `len`. > > Ah, this explains why it did not fail originally, but only after adding the > "isTrusted" case! 🙏 See https://github.com/openjdk/jdk/pull/17250#issuecomment-1875761630 above. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17250#discussion_r1442126261