Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357138 - [Mozilla] should not use nsIFile.getNative*()
Summary: [Mozilla] should not use nsIFile.getNative*()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.8 M2   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:38 EDT by Grant Gayed CLA
Modified: 2011-09-08 14:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2011-09-08 14:38:55 EDT
BDS posted about this on a mozilla newsgroup today.  nsIFile.getNative*() methods should not be used because they do not support filenames with unusual characters.  The Browser's Mozilla implementation currently uses nsIFile.getNativePath() twice and nsIFile.getNativeLeafName() once.  These should be changed to use their UTF-16 counterparts.