Bug 29277 - ToolFactory.createDefaultClassFileReader: Retrieving of classfile location
Summary: ToolFactory.createDefaultClassFileReader: Retrieving of classfile location
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-10 05:05 EST by Martin Aeschlimann CLA
Modified: 2003-02-10 06:52 EST (History)
0 users

See Also:


Attachments

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