Summary: | IllegalArgumentException renaming package | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | John Arthorne <john.arthorne> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M2 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
John Arthorne
2002-01-02 15:14:38 EST
The IllegalArgumentException from Path is caused if the argument to removeFirstSegments() is negative. The caller (JavaProject#canonicalizedPath), doesn't seem to check for this. May have been fixed since 1.0, but the code in 2.0 doesn't seem to guard against this case. On the newsgroup, John Arthorne asked: "In particular, it might be interesting to know the project location, and the old and new project/package names involved in the rename operations. " Sorry, don't recall the two names (nothing special about either: I think it might have been OneToolToRuleThemAll ==>> Consoler) -- have blown away and recreated the plugin; Location: eclipse/workspace/<nameofproject> (i.e., default, no?). rolarenfan: Can you reproduce it with a build 20020115, we released some protection in it for this one problem which we cannot reproduce so far. Paul - was this on Linux ? Sorry not to have said before -- Win2K (R1.0, build 137) (BTW, I am using the JDK supplied with the original download of R1.0, build 137, which is 1.3) |