On Wed, 10 Jan 2024 20:54:20 GMT, Peter Levart <plev...@openjdk.org> wrote:

> I belive there is a bug in `AbstractMemorySegmentImpl#mismatch` method. It 
> returns `-1` (meaning that regions are equal) when passing the same instance 
> of MemorySegment as both `srcSegment` and `dstSegment` parameters regardless 
> of whether `srcFromOffset` and `dstFromOffset` as well as `srcToOffset` and 
> `dstToOffset` are also equal.
> 
> Am I right?

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/17354

Reply via email to