On Thu, 11 Jan 2024 16:21:38 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?
>
> Peter Levart has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   remove special-case check from instance method - test pending

@plevart Are you planning to finish this? (add a test). Or maybe someone else 
can take over and do the rest?

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

PR Comment: https://git.openjdk.org/jdk/pull/17354#issuecomment-1934640546

Reply via email to