[concurrency-interest] backport: Is there a forward port of backport.util.concurrent to Java 5.0

Doug Lea dl at cs.oswego.edu
Wed May 11 08:37:53 EDT 2005

> Is there a forward port to Java 5 of the backport.util.concurrent libraries?

So long as your application used only those classes and methods
that are in the backport (very few commonly useful ones aren't),
a "forward port" would not actually
consist of different code, but just different import statements.
I would think that there would be configuration tools
out there that could help arrange this.

The only things to be careful about are those few methods
like System.nanoTime and Thread uncaught exception handlers
that couldn't be backported to be in compatible classes
(because they are outside java.util.concurrent). It would
be easiest if your code never used such methods. If you do need
them, you can make little some ad-hoc adaptors.


More information about the Concurrency-interest mailing list