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

Bug 365245

Summary: [TMF] Incorrect trace name in Windows
Product: z_Archived Reporter: Patrick Tasse <patrick.tasse>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Patrick Tasse CLA 2011-11-30 16:23:44 EST
The TmfTrace.initTmfTrace() method extracts the trace name from the trace path using the File.separator constant. In Windows, this is the backslash character.

But the trace path is taken from the resource URI, which uses a slash separator on all platforms.

The solution is to use the Path.SEPARATOR constant instead.
Comment 1 Patrick Tasse CLA 2011-12-01 12:55:56 EST
Pushed to master branch.

commit b94040d77a41a5bbbe00c296b9792536913dd5a8
Comment 2 Francois Chouinard CLA 2012-03-26 14:01:01 EDT
Delivered in 0.10.0
Comment 3 Francois Chouinard CLA 2012-03-26 14:01:17 EDT
Delivered in 0.10.0