Community
Participate
Working Groups
EDC directly instantiates DebugTrace rather than obtain an instance from the OSGi DebugOptions service. It does this by using FrameworkDebugOptions, which is an internal platform class (despite its package name not having '.internal.' in it). Also, EDCDebugger.getTrace() is not thread unsafe. Multiple DebugTrace objects can be created if the method is called simultaneously by multiple threads.
Created attachment 180004 [details] Fix
Committed to HEAD. Ken, please review.
*** cdt cvs genie on behalf of jcortell *** Bug 326725: EDC trace uses internal type and is thread-unsafe [*] EDCDebugger.java 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/edc/org.eclipse.cdt.debug.edc/src/org/eclipse/cdt/debug/edc/internal/EDCDebugger.java?root=Tools_Project&r1=1.3&r2=1.4
Looks good.