Bug 26706

Summary: Cannot create project with comma characters in project path
Product: [Eclipse Project] JDT Reporter: Colin Ho <cho>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Colin Ho CLA 2002-11-19 15:08:53 EST
The following scenario fails with 2.1 M3 but worked fine with M2.

Steps to reproduce:

1.  Create a Java source file with the following path:
    D:\Projects\CommaBug\comma,bug\comma\src\com\comma\bug\CommaBug.java

2.  Select File > New > Project > Java > Java Project, then select Next.

3.  Enter project name CommaBug.

4.  Deselect Use Default.

5.  Enter Directory D:\Projects\CommaBug and select Enter.

6.  Select Yes when asked whether to create project.

Result: 

An error occurred while creating the project.  Check log for details.
Reason:
  comma,bug/comma/src/com/comma/bug [in CommaBug] does not exist.
Comment 1 Jerome Lanneluc CLA 2002-11-21 10:08:49 EST
Changed JavaModelManager.determineIfOnClasspath to allow package fragments with 
invalid charaters.
Comment 2 David Audel CLA 2002-12-18 03:22:03 EST
Verified.