Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325011

Summary: JettyHelpServer$StopServerThread cannot access org.objectteams.TeamThreadManager
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTEquinoxAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 0.7   
Target Milestone: 0.7.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
fix none

Description Stephan Herrmann CLA 2010-09-10 16:57:42 EDT
The class JettyHelpServer$StopServerThread extends Thread and thus the OTRE
weaves into it calls to the TeamThreadManager. However, OT/Equinox fails
to load the latter class from the plain bundle org.eclipse.help.base,
which is not adapated as an apsect's base bundle.

As a result jetty is not functional for showing help.
Comment 1 Stephan Herrmann CLA 2010-09-10 17:18:56 EDT
This bug is a consequence of fixing bug 322928.
Comment 2 Stephan Herrmann CLA 2010-09-10 17:23:28 EDT
Created attachment 178664 [details]
fix

Fixed by special treatment for class TeamThreadManager:
intercept the Class instance and directly return it upon request
from any bundle.

Also updated the class javadoc.
Comment 3 Stephan Herrmann CLA 2010-09-10 17:24:51 EDT
Fix has been committed as r776.
Comment 4 Stephan Herrmann CLA 2010-09-23 17:23:46 EDT
Verified using I201009211735