This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 728
run in J2SE, when shutdownClient, the jvm still hang. #54
Labels
Comments
Which version are you running , snapshot ? |
snapshot of master |
Sample test code: package abc.test; import io.searchbox.client.JestClient; import java.util.concurrent.TimeUnit; public class JestTest {
} This new process will never stops. |
I still cannot reproduce the issue even with the sample code you provided... When I run your sample code, both main thread and the JVM properly terminates. Are you customizing/overwriting any of the Jest classes, maybe that's the issue? |
@zykaka which jdk/jvm version you are using? |
IBM jdk 6.0 |
Closing this, guess this bug is only happens with IBM JDK. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
test the code like:
The main thread exists but the whole JVM still hold by the execution service.
Fix could be in the NodeChecker:
The text was updated successfully, but these errors were encountered: