Updates for jdk17+
use diamond <> pervasively
Replace Integer with Item class
testFailedFuture_null: delete redundant test method
testMinimalCompletionStage_minimality: finish an incomplete refactoring
improve assertThrows tests
add an assertion
improve exceptionally tests
rename AtomicInteger "a" to "ran"
prefer standard assert* to threadAssert*
delete some dead code found by errorprone
errorprone [UnnecessaryParentheses] warnings
remove unused Integer v1 loops
make test method summaries more consistent
whitespace
typo
sadly revert (for consistency with thenCompose): optimize uniComposeExceptionallyStage
add testExceptionallyCompose_actionReturnsFailingFuture
add an implementation detail assertion
simplify testExceptionally_normalCompletion
add testDefaultExceptionallyAsync_normalCompletion
whitespace
typo
simplify CompletableFutureInc.apply
simplify ExceptionalCompletableFutureFunction.apply
typo
whitespace
Add tests for default implementations
Add exceptionally{Compose}{Async}
use better parameter name
Fix errorprone warning [AssertionFailureIgnored]
Fix errorprone warning [AssertionFailureIgnored]
use varargs
remove dead store
migrate from AssertionFailedError to AssertionError
use <>
rollback: better exception handling
better exception handling
8186265: Make toString() methods of "task" objects more useful
add more @SuppressWarnings("FutureReturnValueIgnored")
testNPE: suppress errorprone warning [FutureReturnValueIgnored]
more timeout handling rework; remove most uses of SMALL_DELAY_MS; randomize timeouts and TimeUnits; remove hardcoded 5 second timeouts
better assertion style
convert to Diamond
no need for type variable
remove "if (true)" construct
elide parens in unary lambdas
add testToCompletableFutureGarbageRetention
improve testMinimalCompletionStage_toCompletableFuture_mutable
add testMinimalCompletionStage_toCompletableFuture_exceptionalCompletion
add testMinimalCompletionStage_toCompletableFuture_normalCompletion
add testMinimalCompletionStage_toCompletableFuture_oneWayPropagation
improve tests for copy()
MinimalStage.toCompletableFuture should return non-minimal CompletableFuture
make classes static as suggested by errorprone ClassCanBeStatic
fix imports
testAnyOfGarbageRetention: update repro recipe
testCancelledGarbageRetention: link to JDK-8161600
add testCancelledGarbageRetention for JDK-8161600
Rewrite anyOf mechanics for JDK-8160402: Garbage retention with never-completed CompletableFutures
testMinimalCompletionStage_minimality: also test failedStage
testMinimalCompletionStage_minimality: also test completedStage
testExceptionPropagationReusesResultObject: small improvements
add testRecursiveChains
add ad hoc test of intra-completion interference
use more locally consistent indentation style
rename testCoCompletionGarbage -> testCoCompletionGarbageRetention
use expensiveTests on a few more test methods
commit garbage retention tests, run in benign mode by default
typo
add testCoCompletionGarbage
even more rejecting executor tests
improve rejecting executor tests
add testRejectingExecutorNeverInvoked
add testRejectingExecutor
precisely test exception propagation from failing actions
rename testAllOf_backwards -> testAllOf_normal_backwards
testExceptionPropagationReusesResultObject: add missing funs
testExceptionPropagationReusesResultObject: add missing funs
Add ant target tck-security-manager to test tck with security manager
testCompleteOnTimeout_timesOut: add test summary
check that orTimeout and completeOnTimeout return this
revert previous commit: "Weaken assertion to accommodate other tests"
testNPE: very small simplification
Weaken assertion to accommodate other tests
testManyDependents: scalable version of test
add experimental testManyDependents, demonstrating possible performance problem
testWhenComplete_sourceFailedActionFailed: test suppressed exception behavior only when testImplementationDetails
use suppressed exception facility with whenComplete
Make monadic plus robust against unexpected failure
improve testExceptionally_exceptionalCompletionActionFailed
better lambda parameter names
cosmetic improvements to handle and whenComplete tests
document testHandle_sourceCompletedNormallyActionFailed
rename testWhenComplete_actionFailed to testWhenComplete_sourceCompletedNormallyActionFailed
use addSuppressed to record both failures in Monad#plus
improve monadic plus implementation
tidy "monad" tests
add testAdditiveMonad
replace throw with fail or threadFail
typo
improve testMinimalCompletionStage_minimality
improve testMinimalCompletionStage_minimality
add testMinimalCompletionStage_minimality
tidy
improve jdk9 CompletableFuture tests
use explicit AtomicInteger constructor
fix testFailedFuture and testFailedStage
improve method name
testNewIncompleteFuture: more assertions
testNPE: even more TimeUnit checks
delayedExecutor needs to check for null TimeUnit
remove unnecessary try/catch
testDelayedExecutor: more assertions
use TimeUnit static imports
testDefaultExecutor: add assertion when common pool parallelism <= 1
Clarify defaultExecutor spec
typo
whitespace
restore newline
whitespace
testDefaultExecutor fix
add missing shouldThrow()
Add coverage for jdk9 methods
improve main methods; respect system properties; actually fail if a test fails
unused variable cleanup
delete extraneous blank lines
add testThenCompose_actionReturnsFailingFuture
no wildcard imports
remove unused imports
Fix assertions in presence of -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
add checks that timed get returns promptly
whitespace
add tests with 2 identical sources
add tests with 2 identical sources
add tests with 2 identical sources
add tests with 2 identical sources
improve testExceptionPropagationReusesResultObject
add testAllOf_exceptional
improve tests for anyOf
improve tests for allOf and anyOf
improve testExceptionPropagationReusesResultObject
remove superseded testRunAfterEither_resultDeterminedAtTimeOfCreation
improve testExceptionPropagationReusesResultObject
add implementation dependent test testExceptionPropagationReusesResultObject
improve tests for runAfterBoth
improve tests for thenAcceptBoth
improve tests for thenCombine
check return values of complete, completeExceptionally, cancel
improve tests for toString
improve tests for getNumberOfDependents
minor improvements
improve tests for toString
whitespace
tighten assertions for exception handling
improve tests for whenComplete
stronger assertions
improve tests for runAfterEither
improve tests for acceptEither
improve tests for applyToEither
improve tests for applyToEither
improve tests for runAfterEither
IncAction -> NoopConsumer
improve tests for acceptEither
improve tests for applyToEither
consistent test order
minor improvements
improve tests for allOf
improve tests for supplyAsync
improve tests for runAsync
test pervasively for correct execution environment
improve tests for execution environment
improve tests for thenAcceptEither
improve tests for thenAcceptBoth
improve tests for thenCombine
more createIncomplete testing
improve tests for thenAccept
improve tests for thenApply
improve tests for thenRun etc
use consistent stylized coding style for parameterized tests
pervasive test improvements
delete failed experiment
improve tests for thenCompose etc
more test method refactoring
improve tests for whenComplete
improve tests for runAfterEither
improve tests for acceptEither
improve tests for applyToEither
improve infrastructure
test null results as well
improve tests for thenCombine
improve tests for thenAcceptBoth
more systematic testing of runAfterBoth
testRunAfterBoth should test null values
add NPE javadoc and test for obtrudeException(null)
even more compact lambda syntax
whitespace
catch (CompletionException success) {}
whitespace
double trouble
CompletionStage adaptions
wording improvements
more tests for anyOf and allOf
more tests for testThenRun
various improvements
more thorough coverage of thenCompose
improve check* methods so they time out instead of hanging; improve coverage of thenComposeAsync
whitespace
improve tests of combiners
more assertions
improve testNPE
more assertions for testHandle
add new testing method assertThrows; use it using array of lambdas; add new assertions to testNPE
revert experimental code
generify checkCompletedNormally
generify checkCompletedNormally
typo
anyOf; completedFuture tests
consistent exception handling
typos
whitespace
CompletableFuture coverage
add testAllOf_empty, testAnyOf_empty
nag tck maintainers
testToString
Add CompletableFutureTest
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.