0

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?

TheWolf
  • 1,653
  • 3
  • 21
  • 34

2 Answers2

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
  • 513,304
  • 74
  • 731
  • 1,106
3

Check out the pre-Java5 util.concurrent package. It's what the new concurrency classes were based on.

Nicholas
  • 15,671
  • 4
  • 38
  • 63