Bug 29277

Summary: ToolFactory.createDefaultClassFileReader: Retrieving of classfile location
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Martin Aeschlimann CLA 2003-01-10 05:05:12 EST
20030107
In ToolFactory.createDefaultClassFileReader(IClassFile classfile, int 
decodingFlag)

the class file is accessed with
return createDefaultClassFileReader(classfile.getPath().toOSString(), 
decodingFlag);

shouldn't this be 
classfile.getLocation().toOSString() ?

From the Javadoc of createDefaultClassFileReader(String, int) it maybe should 
be mentioned that the path is a OS path.
Comment 1 Philipe Mulet CLA 2003-01-10 05:49:48 EST
Indeed.
Comment 2 Olivier Thomann CLA 2003-01-13 10:21:26 EST
Fixed and released in 2.1 stream.
Comment 3 David Audel CLA 2003-02-10 06:52:19 EST
Verified.