Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 9626 - ConcurrentModificationException in JDIDebugTarget#canSuspend()
Summary: ConcurrentModificationException in JDIDebugTarget#canSuspend()
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P1 critical (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-13 10:26 EST by Jared Burns CLA
Modified: 2005-09-15 14:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2002-02-13 10:26:30 EST
I got a ConcurrentModificationException in JDIDebugTarget#canSuspend() when I
terminated a launch. While the target was iterating over its threads for the
canSuspend() method, the threads were being removed due to the termination.

The fix is to call getThreads(), which returns a copy, instead of getThreadList().
Comment 1 Jared Burns CLA 2002-02-13 10:27:22 EST
Fixed. Please verify.
Comment 2 Darin Wright CLA 2002-02-13 17:28:40 EST
Verified