Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325011 - JettyHelpServer$StopServerThread cannot access org.objectteams.TeamThreadManager
Summary: JettyHelpServer$StopServerThread cannot access org.objectteams.TeamThreadManager
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTEquinox (show other bugs)
Version: 0.7   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 0.7.1   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 16:57 EDT by Stephan Herrmann CLA
Modified: 2010-09-23 17:23 EDT (History)
0 users

See Also:


Attachments
fix (4.43 KB, patch)
2010-09-10 17:23 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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