Community
Participate
Working Groups
If I try update software through the Software Updates pulldown under Help, and I cancel the Update Manager for some reason, Eclipse hangs for quite a long time. I had this happen because I remembered I needed a proxy to get out of the firewall and I tried to Cancel, but it hung for at least 10 minutes.
I tried this with the latest version of Eclipse (3.3M6) on Linux (GTK+) and it doesn't seem to be a problem. I downloaded 3.1.2 (the version that the problem was reported with) and I can't seem to reproduce it with that version either. Has anyone else experienced this problem?
In general, 'Cancel' in Update sets the 'canceled' flag for the next loop pass to check. What this means is that we cannot cancel the current connection request using brute force - we must wait for it to time out. In order to do something more drastic, we would need to go down to the socket level, and we cannot do that from java.net.
It wasn't clear (to me at least :)) if the problem was simply, open the update manager window, and then press cancel, (where I assume no connection has been made yet) or if this relates to canceling a current update (where I assume a connection has been made). I assumed the former (which seems to work), but you are right, it is probably the canceling of a connection that is the problem here. This seems very related to bug #18598 (if not the same thing).
see also bug 165311 , bug 198282 , and others...
As mentioned before this is a duplicate of bug 18598.
*** This bug has been marked as a duplicate of bug 18598 ***