Skip to content

EObytes$EOslice fails when input is wrong #3749

@yegor256

Description

@yegor256

I see this:

  ⇢ 1022) o.e.PhDefault#take():160
  ⇢ 1023) o.e.AtomSafe#lambda():49
  ⇢ 1024) E.E.EObytes$EOslice#lambda():81
  ⇢ 1025) j.u.Arrays#copyOfRange():3853
  ⇢ 1026) j.l.System#arraycopy():-2
  ⇢ 1027) "arraycopy: length -7 is negative"

However, we have all the proper checks there. Why don't they detect incorrect input?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions