Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals [v2]

2023-07-19 Thread Martin Buchholz
On Wed, 19 Jul 2023 22:08:04 GMT, Pavel Rappo wrote: >> Please review this PR to use modern APIs and language features to simplify >> equals for BitSet. >> >> I couldn't see how to refactor hashCode using Arrays utility methods in a >> way that preserves its specification. So, aside from refa

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals [v2]

2023-07-19 Thread Pavel Rappo
> Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from refactoring its doc comment > and annotating it with `@Override