RFR: 8258010: Debug build failure with clang-10 due to -Wdeprecated-copy [v2]
Hao Sun
github.com+16932759+shqking at openjdk.java.net
Wed Jan 6 04:37:08 UTC 2021
On Mon, 4 Jan 2021 10:15:27 GMT, Hao Sun <github.com+16932759+shqking at 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
More information about the build-dev
mailing list