On Mon, 4 Jan 2021 10:15:27 GMT, Hao Sun 
<github.com+16932759+shqk...@openjdk.org> wrote:

>> That's true on the first assignment of `t2`. But what if `t2` is reassigned
>> to some other iterator. That assignment sees `_vdui` true, and keeps the old
>> value of `_last` rather than updating the value from that other iterator. Is
>> that really correct? It certainly seems strange. I'm trying to find someone
>> who understands this code to get involved, but holidays.
>
> Thanks for your explanation. Yes, you're right. I didn't realize the 
> re-assignment scenario.

@vnkozlov I was wondering if you could take a look at this? We're not sure 
whether 'operator=' is problematic or not. Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/1874

Reply via email to