jdk17+ suppressWarnings, FJ updates
8231800: Better listing of arrays
8221120: CopyOnWriteArrayList.set should always have volatile write semantics
Add portability layer for new location of SharedSecrets in JDK-8211122
update to using jdk11 by default, except link to jdk10 javadocs; sync @docRoot references in javadoc with upstream
use release fence only in clone; not needed in readObject
resetLock: add a release fence
COWSubList#equals tweak
nano-refactoring of replaceAll methods
rangeCheckForAdd
Optimize COWAL sublists; stop subclassing AbstractList
replace for loop with foreach loop
code simplification
code simplification
sync 8174109: Better queuing priorities
8177789: fix collections framework links to point to java.util package doc
convert to Objects.requireNonNull
add javadoc for @inheritDoc
rewrite; fixes 8169738: CopyOnWriteArrayList subList needs more synchronization
appease spell checker
Need doPrivileged block to call Field.setAccessible
VarHandles conversion; pass 1
s~\bsun\.(misc\.Unsafe)\b~jdk.internal.$1~g; s~\bputOrdered([A-Za-z]+)\b~put${1}Release~g
merge with upstream
fix all the (optional) broken links using -Xdocrootparent hack
merge upstream changes
Use Objects.equals; migrate last use of <tt> to {@code ...
improve comment in light of actual fix for JDK-6260652
optimize removeIf for zero or one match
replace eq with (standard) Objects.equals
COWIterator constructor should not be private
standardize code sample idiom: * <pre> {@code
use enhanced for loop
refactor out-of-bounds exception message string
prefer builtin monitor to ReentrantLock when either will do
standardize Unsafe mechanics; slightly smaller bytecode
use ReflectiveOperationException for Unsafe mechanics
remove redundant parens
remove unused/redundant imports
standardize import statement order
this collection => this XXX
use Objects.equals in javadoc
use Objects.equals in javadoc
add missing bounds check in subList, and corresponding missing tck tests
stop using denigrated: Foo bar[];
add javadoc for spliterator()
javadoc warning fixes: add serialization method @throws
javadoc warning fixes: add serialization method @param
coding style
whitespace
Override default implementations in sublists
whitespace
Support new Collection methods; bypass copy for some methods with COW args;
port to latest lambda
optimize addIfAbsent and remove(Object) for non-mutating case
addAllAbsent: optimize away one array allocation
coding style
Improve addIfAbsent
Synch with lambda Spliterator API
lambda syncs and improvements
Spliterator sync
Use new java.util.function names
Spliterators
use blessed modifier order
whitespace
lambda-lib support
<tt> -> {@code
normalize whitespace after <p>
use third person in javadoc first sentence
fix imports
Trap null removAll and retainAll args
uniform serialization method javadocs
javadoc typo
whitespace
make rangeCheck() package-private to inhibit bridge method
fix javac warnings for clone methods
remove extraneous parens
consistent style for code snippets
use "i" only for ints
whitespace
remove unused field
clean up imports
fix javac 7 [rawtypes] warnings
Typos
Use relative URLs in last change
Link for "optional" -- CR 6546713
Reduce dependencies in static initialization
use enhanced for loop in writeObject
improve serialization method comments
invalid @code tags
whitespace
Sync with OpenJDK; untabify
6570566: Incorrect range check in CopyOnWriteArrayList subLists 6570575: Cannot remove elements from CopyOnWriteArrayList subLists 6570631: CopyOnWriteArrayList subLists prohibit even non-structural modifications to parent list 6570924: CopyOnWriteArrayList subLists should implement RandomAccess
6529795: (coll) Iterator.remove() fails if next() threw NoSuchElementException
Location of Collections Guide has changed
sync with mustang
Use snapshot of other collection in addAll, addAllIfAbsent
Eliminate unnecessary special handling of toArray
Review Rework
whitespace
Improve equals specs
Improve equals method specs and implementations
happens-before; volatile
toString; equals
whitespace
Edit pass for happens-before descriptions
clone should reset lock
Happens-before markup
sync up listIterator comments
doc fixes
Remove duplicate getArray call
doc fixes
Move index check
Use Arrays.copyOf
remove redundant arrayCopy call
Incorporate review comments
Use ReentrantLock
Reduce generics warnings
Use anticipated Arrays.clone methods
Avoid redundant bounds checks
doc fixes
containsAll
doc fixes
doc fixes
remove trailing whitespace
E o -> E e
doc fixes
doc fixes
doc fixes
Javadoc improvements
Documentation improvements
Typo fix
Wording fixes and improvements
Wording improvements and fixes
Add Collection framework membership doc
javadoc lint; Thread.interrupt shouldn't throw exception if thread dead
fixed signatures to match java.util
spellcheck
fixed typos; avoided some casts
Changed doc strings for generic params
Added docs for type params
Rephrased by-permission clause
Spellcheck
Proofreading pass -- many minor adjustments
Removed non-standard tags and misc javadoc cleanup
Define clear in sublist to avoid abstract version
Style cleanups to COWList; CyclicBarrier broken barriers now Fast-fail
serialVersionUIDs
Scrunched catch, finally, else clauses.
Fixes to minor errors found by DocCheck
Fix unchecked calls to raw type
Default compiler is now 2.2-ea. Some sources are not compatible with 2.0-ea.
Added missing javadoc tags; minor reformatting
Partial javadoc pass
Misc documentation updates
Minor doc updates; FairReentrantLock serialize now
re-check-in initial implementations
Moved main source rooted at . to ./src/main Moved test source rooted at ./etc/testcases to ./src/test
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.