mkodekar / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

RangeSet does not document concurrent modification of asRanges() #1831

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
RangeSet#asRanges() document how changes to the set are propagated to the 
inherited set. Is the asRanges() result immutable? Are changes propagated? Or 
are concurrent modifications not allowed?

Original issue reported on code.google.com by jens.ran...@tink.se on 12 Aug 2014 at 1:30

GoogleCodeExporter commented 9 years ago
Eh, sorry should have been "RangeSet#asRanges() _does not_ document". I was a 
bit too quick there..

Original comment by jens.ran...@tink.se on 12 Aug 2014 at 1:30

GoogleCodeExporter commented 9 years ago
Looks like it all boils down to a call to SortedMap#values() whose result has 
undefined behaviour when the map is modified.

Original comment by jens.ran...@tink.se on 12 Aug 2014 at 1:36

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:07