Bug 105430 - ecj chokes when classpath has leading separator
Summary: ecj chokes when classpath has leading separator
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 06:48 EDT by Gary Benson CLA
Modified: 2005-09-27 15:32 EDT (History)
1 user (show)

See Also:


Attachments
Fix (557 bytes, patch)
2005-07-28 06:49 EDT, Gary Benson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Benson CLA 2005-07-28 06:48:30 EDT
The new classpath parser in ecj can't cope with classpaths with leading
separators.  I can't find any documentation as to whether this is valid or not,
but I've seen it used several times, and other Java compilers accept it.

The attached patch fixes.
Comment 1 Gary Benson CLA 2005-07-28 06:49:09 EDT
Created attachment 25406 [details]
Fix
Comment 2 Olivier Thomann CLA 2005-07-28 08:07:59 EDT
Philippe, this would be a candidate for 3.1.1.
Comment 3 Olivier Thomann CLA 2005-07-28 12:37:49 EDT
Fixed and released in HEAD.
Regression test added in
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test034
Comment 4 Philipe Mulet CLA 2005-07-28 18:28:56 EDT
+1 for 3.1.1
Comment 5 Jerome Lanneluc CLA 2005-08-11 10:35:17 EDT
Verified with 3.2 M1
Comment 6 Maxime Daniel CLA 2005-09-21 08:52:49 EDT
Verified for 3.2 M2 on build: I20050920-0010.
Comment 7 Olivier Thomann CLA 2005-09-26 13:28:10 EDT
Backported to 3.1 maintenance.
Regression test added in
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test034
Comment 8 Olivier Thomann CLA 2005-09-27 15:32:21 EDT
Verified in  M20050923-1430 + JDT/Core 3.1.1RC3 candidate