ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ExecutorsTest.java
Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Tue Mar 22 21:29:23 2022 UTC (2 years ago) by dl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.55: +10 -0 lines
Diff to previous 1.55
Updates for jdk17+

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:06 2021 UTC (3 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.54: +13 -13 lines
Diff to previous 1.54
Replace Integer with Item class

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Feb 1 18:52:17 2020 UTC (4 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.53: +4 -6 lines
Diff to previous 1.53
testTimedCallable: make test independent of cancel(true) interrupt behavior

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sat Feb 1 17:44:35 2020 UTC (4 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
whitespace

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Feb 1 16:45:50 2020 UTC (4 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.51: +7 -2 lines
Diff to previous 1.51
Use shutdownNow if interrupts needed for test

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Mon Dec 16 22:55:54 2019 UTC (4 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +12 -10 lines
Diff to previous 1.50
fix a few [UnusedVariable] warnings

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Aug 16 17:18:34 2017 UTC (6 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +52 -0 lines
Diff to previous 1.49
8186265: Make toString() methods of "task" objects more useful

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon May 29 22:44:26 2017 UTC (6 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48
more timeout handling rework; remove most uses of MEDIUM_DELAY_MS; randomize timeouts and TimeUnits; write out IAE and ISE

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat Mar 18 20:42:20 2017 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.47: +8 -16 lines
Diff to previous 1.47
better assertion style

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Jan 4 06:09:58 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
convert to Diamond

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 16:14:48 2015 UTC (8 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +61 -67 lines
Diff to previous 1.45
PoolCleaning

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Apr 25 04:55:30 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
improve main methods; respect system properties; actually fail if a test fails

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Feb 22 19:16:12 2015 UTC (9 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.43: +0 -1 lines
Diff to previous 1.43
remove dead code

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:05:42 2014 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +18 -4 lines
Diff to previous 1.42
no wildcard imports

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun May 29 13:45:35 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +40 -29 lines
Diff to previous 1.41
various test case improvements

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sun May 29 06:54:23 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +0 -1 lines
Diff to previous 1.40
tidy imports

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri May 27 19:28:38 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +20 -29 lines
Diff to previous 1.39
improve testTimedCallable

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri May 6 11:22:07 2011 UTC (12 years, 10 months ago) by dl
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.38: +3 -3 lines
Diff to previous 1.38
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Apr 14 22:55:08 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
whitespace

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:06 2011 UTC (13 years ago) by jsr166
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
Update Creative Commons license URL in legal notices

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Nov 9 15:29:11 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +9 -6 lines
Diff to previous 1.35
fix rare test failures

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 08:47:04 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +50 -24 lines
Diff to previous 1.34
optimize runtime

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 19:30:35 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
whitespace

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Oct 4 05:45:44 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +4 -5 lines
Diff to previous 1.32
small simplification

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Oct 4 03:34:21 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +3 -0 lines
Diff to previous 1.31
Avoid classloader-related SecurityExceptions in swingui.TestRunner

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 00:52:49 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +19 -20 lines
Diff to previous 1.30
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

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 00:07:03 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
whitespace

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Jan 5 02:08:37 2010 UTC (14 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +128 -129 lines
Diff to previous 1.28
Make tests security-manager-aware

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Dec 2 19:17:01 2009 UTC (14 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +23 -68 lines
Diff to previous 1.27
Make testTimedCallable pass even on systems with adverserial thread schedulers

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:56:28 2009 UTC (14 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +3 -4 lines
Diff to previous 1.26
use stricter assertions, e.g. assertSame

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:33:20 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +5 -4 lines
Diff to previous 1.25
import static TimeUnit.MILLISECONDS

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:07:26 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +35 -35 lines
Diff to previous 1.24
untabify

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Nov 20 22:58:48 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +25 -31 lines
Diff to previous 1.23
improve exception handling

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Nov 19 03:55:29 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +45 -104 lines
Diff to previous 1.22
better exception handling

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 05:30:07 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +7 -7 lines
Diff to previous 1.21
whitespace

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 04:57:10 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +25 -25 lines
Diff to previous 1.20
whitespace

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 00:40:11 2009 UTC (14 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +27 -27 lines
Diff to previous 1.19
whitespace

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 16:06:12 2009 UTC (14 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18
remove use of sun.* apis

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 13:58:09 2009 UTC (14 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17
Track 1.6 change to use security manager, not AccessControl

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Apr 3 15:00:59 2006 UTC (17 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Check priorities as <=, not ==

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jan 27 11:37:00 2004 UTC (20 years, 2 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.15: +40 -26 lines
Diff to previous 1.15
Don't fail if program has too many permissions

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Jan 22 14:07:50 2004 UTC (20 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.14: +22 -9 lines
Diff to previous 1.14
Fixed 2 tests

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Jan 20 20:20:56 2004 UTC (20 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.13: +67 -33 lines
Diff to previous 1.13
Don't fail if test harness doesn't have sufficient permissions

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Jan 19 15:49:02 2004 UTC (20 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.12: +32 -25 lines
Diff to previous 1.12
Javadoc fixes

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:43 2003 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11
Headers reference Creative Commons

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Dec 22 00:48:55 2003 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.10: +296 -0 lines
Diff to previous 1.10
Add and adjust tests reflecting API changes

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 01:51:12 2003 UTC (20 years, 3 months ago) by tim
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT
Changes since 1.9: +3 -428 lines
Diff to previous 1.9
Move and rename static Executors.execute/invoke to ExecutorService.submit/invoke,
providing implementations in AbstractExecutorService (which TPE extends).

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Dec 9 19:09:24 2003 UTC (20 years, 3 months ago) by tim
Branch: MAIN
CVS Tags: JSR166_DEC9_PRE_ES_SUBMIT
Changes since 1.8: +91 -92 lines
Diff to previous 1.8
Some tests were still using <V> Future<V> execute(Executor,Runnable,V)

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Nov 1 18:37:02 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_NOV3_FREEZE
Changes since 1.7: +169 -0 lines
Diff to previous 1.7
Revised and added tests for revised PFT

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Oct 5 23:00:40 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.6: +13 -13 lines
Diff to previous 1.6
Added tests and documentation

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 15:33:13 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.5: +13 -29 lines
Diff to previous 1.5
Javadoc fixes

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 11:02:41 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.4: +300 -101 lines
Diff to previous 1.4
improve tck javadocs; rename and add a few tests

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 18:20:07 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.3: +137 -134 lines
Diff to previous 1.3
Documentation scaffolding

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 14 20:42:40 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.2: +23 -51 lines
Diff to previous 1.2
New base class JSR166TestCase

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 20:39:11 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.1: +85 -0 lines
Diff to previous 1.1
Added serialization and lock tests

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 19:24:55 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
First check-in of tests to be in tck

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

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.

  Diffs between and
  Type of Diff should be a