Community
Participate
Working Groups
In JDT when converting IJava* to JDI* use getAdapter instead of casting. For example in JDIClassType it casts an IJavaThread to a JDIThread. Or some other method for allowing super debug adapters to inherit the features of JDT debug adapter.
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.