Hi,

I don't know whether you guys still use jdk-collaboration[1], so I
double post here.

I believe the fix is incomplete. The shutdown hook only
calls ExecutorService#shutdown but it also needs to call
#awaitTermination. #shutdown does not block. I've seen this
happen several times, the #shutdown method's naming is
unfortunate.

See the last example in
http://java.sun.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html.

Matthias

[1] 
https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?messageID=21974&forumID=1463

Reply via email to