whitespace
Updates for jdk17+
Test additions
typo
Replace Integer with Item class
testTimedCallable: make test independent of cancel(true) interrupt behavior
add T chooseRandomly(List<T> choices)
whitespace
add testBlockers methods to check management interface
elide unwanted newlines for profile reports
Handle changes to Reference Handler stacktrace due to JDK-8156500
rename checkForWedgedTest -> WedgedTestDetector
add Common-Cleaner to list of uninteresting threads to filter out of thread dumps
delete assertTerminatesPromptly experiment
whitespace
Improve error reporting in awaitTermination(Thread); introduce LONGER_DELAY_MS
call dumpTestThreads at most once per test method
whitespace
awaitTermination: report the thread state on timeout
fix very rare race in testInterruptedFailingAcquire
more assertions; more interleavings
timeoutMinutes should take delay factor into account
Add HashtableTest, leveraging MapTest infrastructure
improve assertThrows tests
add support for java 17
Add LinkedHashMapTest
appease errorprone [MissingCasesInEnumSwitch]
delete SmallPossiblyInterruptedRunnable
continue to move infrastructure away from threadAssert* methods
Fix errorprone warning [AssertionFailureIgnored]
Fix errorprone warning [AssertionFailureIgnored]
Fix errorprone warning [AssertionFailureIgnored]
add atLeastJava11
better testing of collection copies
remove RunnableShouldThrow
modernize reflective code
prefer rethrow with cause to plain fail
migrate from AssertionFailedError to AssertionError
simplify atLeastJava9, atLeastJava10
8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
8186265: Make toString() methods of "task" objects more useful
delete superseded assertThreadStaysAlive methods
improve executor tests, en passant removing [FutureReturnValueIgnored] warnings
improve tests of saturated pools
more timeout handling rework; remove most uses of SMALL_DELAY_MS; randomize timeouts and TimeUnits; remove hardcoded 5 second timeouts
temporarily allow assertThreadsStayAlive to stay alive
temporarily allow assertThreadStaysAlive to stay alive
delete no-longer-used assertThreadStaysAlive
improve assertThreadBlocks
delete no-longer-used assertThreadsStayAlive
add await(CyclicBarrier barrier)
assertThreadBlocks: timeout before LONG_DELAY_MS
claw back some millis using assertThreadBlocks
timeoutMillis() should not scale linearly with delayFactor
introduce MAX_SPURIOUS_WAKEUPS
avoid multiple @test comments in a single source file - CODETOOLS-7901914
fix unused imports reported by errorprone [RemoveUnusedImports]
waitForThreadToEnterWaitState should fail on timeout; tests should tolerate transient blocking Thread.State at any time (e.g. due to classloading)
add testCommonPoolThreadContextClassLoader
add security manager tests
convert to Diamond
add spliterator tests for LinkedBlockingDeque, LinkedBlockingQueue
add another @run to test common pool parallelism of 1 and java.util.secureRandomSeed=true
run conformance mode tests with stricter @modules
sync @modules ... :open from upstream for module refresh
add Vector subList tests
fix 4jdk7-tck target
whitespace
add support for Cloneable
add VectorTest
fix 4jdk7-test ant target
add ArrayListTest (because it was easy enough to do so)
fix 4jdk7-tck target by segregating jdk8+ tests
dumpTestThreads: prevent NPE while dumping threads
make classes static as suggested by errorprone ClassCanBeStatic
sleep(long) should be static
introduce shuffle(T[]) utility method
waitForThreadToEnterWaitState: only call nanoTime if necessary
also test common pool parallelism of 1 and secureRandomSeed=true
point out connection between Action and Executable
split jdk9 Atomic tests into separate *9Test.java files
Add ant target tck-security-manager to test tck with security manager
Test common pool parallelism of 0 with jtreg
fix broken ant target tck-parallelism-0
improve and test ExecutorCompletionService sample code
add callableThrowing
split ChronoUnit tests off into TimeUnit8Test, to fix ant target 4jdk7-tck
improve handling of timeouts/delays; give fastdebug VMs more time by default
make tests more robust against slow VMs; fix for JDK-8150319: ScheduledExecutorTest:testFixedDelaySequence timeout with slow VMs
avoid fake html tags in javadoc
whitespace
adjust delays if jtreg -timeoutFactor is used; make jsr166.delay.factor a float
sync changes from 8149391: Fix module dependences in java/util tests
add -Djsr166.testImplementationDetails=true for jtreg testing
allow tck tests to be run via jtreg junit support
add jsr166.delay.factor system property
whitespace
untabify
pithy junit test reporting
better failure diagnostics
better failure diagnostics for await methods
comment out esoteric debugging diagnostics
check for wedged tests at least every 15 minutes
comment out "currentRun" recording experiment
delete minor oops
add even more debugging info to wedged test detection
add even more debugging info to wedged test detection
record availableProcessors in case of wedged test
improve awaitTermination
bump up timeout
allow PoolCleaners to have optional "release" actions
only dump all threads once if we're stuck
PoolCleaning
improve delay
modifier order
improve testSaturatedExecute4
rejigger pool closing infrastructure
rejigger pool closing infrastructure
improve diagnostics for failing tests
avoid spurious checkForWedgedTest reports with enormous runsPerTest
add a watchdog thread to hunt down elusive wedged tests
whitespace
printAllStackTraces: renamed to threadDump
threadRecordFailure: do a thread dump at first test failure
threadFail: simply rethrow the AssertionFailedError
use PoolCloser
printAllStackTraces: filter out uninteresting threads
add PoolCloser for better test hygiene
improve tests for shutdown
move methodFilter from runTest to higher level runBare
look much more aggressively for leaked threads in tearDown()
optimize runTestProfiled
add constructor: new StringTask(value)
consistent style for <li> tags, removing </li> end tags
small clarification
rename Thunk -> Action
Add SubmissionPublisher tests
improve jdk9 CompletableFuture tests
move ThreadPoolExecutor9Test.java into ThreadPoolExecutorTest.java
even more fiddling with atLeastJava9 and atLeastJava10
Fix (broken) atLeastJava9, and boldly try to add atLeastJava10
only test Date/currentTimeMillis with Date/currentTimeMillis, not with nanoTime
add support for parameterized test execution; add support for automatically executing jdk8+ tests; add tests for JDK-8085978
give up on Thread.stop as last resort
reword for clarity
improve main methods; respect system properties; actually fail if a test fails
atLeastJava9 can finally use java.class.version
catch clause readability
catch clause readability
whitespace
add more tests of exhausted iterators
use correct tense for javadoc
fix javadoc @link
no wildcard imports
remove unused imports
more debugging info on joinPool timeout
add checks that timed get returns promptly
add javadoc for testImplementationDetails
add simple infrastructure for implementation-dependent tests
millisElapsedSince should be static
add warmup run to runTestProfiled
add support for jdk9+ tests
add jsr166.methodFilter system property
Add basic tests for lambda-accepting JDK8 atomics methods
introduce ThreadLocalRandom8Test, fixing 4jdk7-test-tck
Adapt/incorporate JDK8 tests including suggestions by Eric Wang
register SplittableRandomTest as a jdk8+ test
actually test SplittableRandom; tidying pass; coding style consistency
remove redundant CheckedFJTask; realCompute should be: public => protected
add runsPerTest config variable
add new testing method assertThrows; use it using array of lambdas; add new assertions to testNPE
test new map methods
CountedCompleters
Basic coverage for LongAdder and friends
Add CompletableFutureTest
whitespace
add checkForkJoinPoolThreadLeaks
add ForkJoinPool8Test
better method names
add support for conditional jdk8 tests
fix printAllStackTraces debugging tool
add printAllStackTraces debugging tool
document command line arg
make testing security manager more flexible and debuggable
normalize whitespace after <p>
add assertSerialEquals, assertNotSerialEquals, serialBytes
various test improvements
improve "uninterruptible" tests
improve waitForThreadToEnterWaitState
add an assertion to serialClone
CheckedBarrier.await() should time out
ensure interrupt status not set by any test
new Date().getTime() ==> System.currentTimeMillis()
add assertFutureTimesOut
fix illegal throwable self-causation
various test improvements
More cross-pollination of RL and RRWL tests; don't rely on thread.join not returning early
Run every test in both non-fair and fair modes
Improve ReentrantLock and ReentrantReadWriteLock tests
whitespace
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough
rewrite ReentrantReadWriteLockTest
Update Creative Commons license URL in legal notices
add Runnable awaiter(CountDownLatch)
update testInterruptedTimedPoll
increase LONG_DELAY_MS and joinPool timeouts to decrease rare failures
whitespace
Help JCK adaptor
whitespace
waitForThreadToEnterWaitState: fail if thread has terminated
refactor testTakeFromEmpty into BlockingQueueTest
add waitForThreadToEnterWaitState
s/public/protected/
add possiblyInterruptedRunnable as a method
reduce the costs of the most egregiously expensive tck tests, while still alowing for a system property to run them for longer
add test profiling support. Fix TrackedShortRunnable timeout
start of a big refactoring, with only one test refactored: testTimedPollWithOffer
add new helper method awaitTermination(Thread, long)
prefer daemon threads
cleanup exception handling
Master suite() method should call per-class suite() methods
whitespace
better detail message on failure to terminate pool
testcase hygiene: introduce CheckedRecursiveAction and CheckedRecursiveTask; eliminate almost all threadAssertXXX; use preferred junit conventions;narrow the scope of exception checking code; make sure test failures in non-junit threads produce proper stacktraces
Add threadAssertSame
trailing whitespace
Finish ConcurrentLinkedDeque feature
Make tests security-manager-aware
various improvements for invokeAll and invokeAny tests
whitespace
InterruptedException was swallowed!
change access modifiers to allow access from multiple packages
improve exception handling
improve exception handling
untabify
whitespace
better exception handling
swallow only expected exceptions
more infrastructure
fix 2 tests
add unexpectedException(Throwable)
checked runnables; import static MILLISECONDS; coding style cleanups
whitespace
whitespace
Add new TCK tests for JDK7
Add support for tracing failures
Simplify Navigable method names
Simple tests for SimpleEntry
Add tests for new protected extenion methods
doc fixes
Add SubMap/Set tests for TreeMap/Set
Add tests for new AQLS class
Weaken lock await assertion, add queue testRemoveElementAndAdd
Integrate tests for jsr166x classes
Don't fail if test harness doesn't have sufficient permissions
Fixed timing errors
Timing default changed
Added tests
Fix typos
Add tests
Added and fised testcases
spellcheck
Add tests for AQS extensions; adjust others for protected condition methods
Headers reference Creative Commons
Add timed invoke* tests
Add and adapt tests to refactored Executor API
Add and adjust tests reflecting API changes
Collapsed Cancellable and Future
Merged FairSemaphore into Semaphore
Added PrivilegedFutureTaskTest
Added tests and documentation
Javadoc fixes
improve tck javadocs; rename and add a few tests
Documentation scaffolding
Added tests
New base class JSR166TestCase
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.