Summary: | Use getAdapter when converting IJavaThread to JDIThread | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Erin Harris <eharris> |
Component: | Debug | Assignee: | Jared Burns <jared_burns> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | CC: | jared_burns |
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Erin Harris
2002-06-26 10:37:54 EDT
Deferred for post 2.0 consideration The IJava* interfaces are not allowed to be implemented. Thus, JDIThread is guaranteed to be the only implementation of IJavaThread. If a client implements IJavaThread, they are breaking the rules of engagement. Move to close. Erin identified minimal fixes required for 2.0.1 as (1) implement #getAdapter(IJavaThread) in JDIThread (2) Chnages to ThreadFilterViewer to use IJavaThread/IJavaDeubgTarget adapaters If we use #getAdapter calls, clients do not have to implement the java debug model interfaces. We should investigate a more full blown implementation of this. I will open a new bug for further work. Fix released to HEAD and 2.0.1 branch. Please verify, Jared. Verified code. |