Summary: | Code Format fails on not on-demand imports | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Bertrand Cormier <b.cormier> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M8 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Bertrand Cormier
2004-02-19 10:16:50 EST
What build are you using? I cannot reproduce with M7. This looks like an old bug, but I cannot find the previous bug report. Close as WORKSFORME. Please reopen if you can reproduce it with M7 or above. Dear Olivier, That's M7 : Eclipse Platform Version: 3.0.0 Build id: 200402122000 I think I know why you didn't reproduce it : my mistake ! It seems that the bug occurs if the imported class is one-byte length. The example I've sent you before was working, but this one doesn't : --------------------------------------- import com.ibm.rational.test.ct.A; public class Foo extends A { public Foo() { super(); } } --------------------------------------- It doesn't work if you try to format this source. Sorry for the mistake and the extra work ! /Bertrand Reproduced. Fixed and released in HEAD. Regression test added. Verified for 3.0 using build I200403250010. |