Incorporate snippets code improvements from Pavel Rappo
8250240: Address use of default constructors in the java.util.concurrent
use multi-catch
standardize code sample idiom: * <pre> {@code
standardize import statement order
improve implementation of invokeAll
never use wildcard imports
time to start using diamond <>
doclint warning fixes
doclint warning fixes
give that javadoc some commas
javadoc style
optimize access to local ArrayLists
whitespace
<tt> -> {@code
normalize whitespace after <p>
remove redundant NullPointerException checks
s/lastTime/deadline/g
whitespace
Update Creative Commons license URL in legal notices
whitespace
Future<Object> => Future<Void>
Fix javadoc code samples to use <pre> {@code so that we can replace < with <, etc.
remove useless throw/catch of InterruptedException
6458306: Executor classes missing unchecked exception specs
6440728: ThreadPoolExecutor can fail to execute successfully submitted tasks as specified
whitespace
6378729: Remove workaround for 6280605
6267833: Incorrect method signature ExecutorService.invokeAll()
whitespace
doc fixes
fix syntax in sample code
Add documentation; adjust STPE internal types
Overridable RunnableFuture creation for AbstractExecutorService. OverridableRunnableScheduledFuture decoration for ScheduledThreadPoolExecutor.
remove trailing whitespace
catch( -> catch (
Wording fixes and improvements
Headers reference Creative Commons
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves
Simplify FutureTask and AbstractExecutorService internals; improve docs
Streamline status settting
Documentation improvments; support two-arg submit
Replace PrivilegedFutureTask with Executors.privilegedCallable
Define and use Executors.callable instead of submit/invoke variants
Documentation improvements
Export delegation wrappers; fix/add documentation
Fix timeout control
invokeAny returns value, not list
methods renamed back to invokeAny/All
Added CompletionService; Executor any/all methods now require lists
Minor improvements to any/all methods
Added any/all methods
Documentation updates
Move and rename static Executors.execute/invoke to ExecutorService.submit/invoke, providing implementations in AbstractExecutorService (which TPE extends).
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.