I've been testing out concurrency with dnsjava. I've noticed errors when a bunch of threads try to use the same SimpleResolver for the first time.
If I send 1 request, wait for a response, and then start all the threads, everything is fine.
Is the SimpleResolver thread safe?
|