LookupAsynch loses requests when used from multiple threads
Status: Beta
Brought to you by:
alexd_nom
LookupAsynch looses requests when used from multiple threads due to lack or invalid synchronization when accessing static fields in LookupAsynch and ExtendedNonblockingResolver.
Patch that fixes this problem is attached. I used concurrent primitives from Java 1.5 java.util.concurrent. Drop me a note if you want to keep compatibility with Java 1.4, I can change patch for it.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hi -
Thanks very much for the patch.
I would like to keep compatibility with Java 1.4 - could you please send your patch for that?
Thanks,
Alex.