Is there a framework that is compatible with JDK 1.4 that can simulate the same execution timeout functionality via thread management as in Executor
and Future
found in JDK 5?
Asked
Active
Viewed 859 times
0

TheWolf
- 1,675
- 4
- 22
- 34
2 Answers
4
There is a back port of the JDK 5.0 library which use the same classes names etc. http://backport-jsr166.sourceforge.net/ It supports Java 1.2, 1.3, 1.4, 5.0 and 6. There was no Java 4.

Peter Lawrey
- 525,659
- 79
- 751
- 1,130
-
Thanks, yeah I meant JDK 1.4. Edited now. – TheWolf Dec 18 '10 at 07:41
3
Check out the pre-Java5 util.concurrent package. It's what the new concurrency classes were based on.

Nicholas
- 15,916
- 4
- 42
- 66