On Fri, 2 Dec 2005, Endre Stølsvik wrote:

| 
| One more thing about concurrent.jar: if the inclusion of a entirely new 
| library dependency sounds bad (which I personally think!), one have the 
| option of just "stealing" the parts that are necessary: the magic is not 
| in new JVM features, but in a very good engineering using existing. These 
| will run _faster_ on newer JVMs, but are just as valid on older.
|   " All classes are released to the public domain and may be used for any 
| purpose whatsoever without permission or acknowledgment. "

Replying to myself here: one may also just backport the parts of JSR 166 
(jse5 java.util.concurrent) that is needed, since these also are 
available:
  [ http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/ ]

This backport is for 1.4, but that may easily be remedied by making a new 
version of the "Utils" class that drops the "nanoseconds" element entirely 
- in this case, it can run on 1.2..

This would alleviate the need for introspection wizardy entierly - you get 
the exact same as if running on jse5.

Regards,
Endre.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to