Summary: | Strange compilation error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Lenik <lenik> | ||||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||||
Status: | VERIFIED DUPLICATE | QA Contact: | |||||||
Severity: | blocker | ||||||||
Priority: | P3 | CC: | jarthana, srikanth_sankaran | ||||||
Version: | 3.5 | ||||||||
Target Milestone: | 3.5 M7 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
P.S. I found this bug recently, it seems not occurred in previous versions of eclipse (I don't remember the actual version numbers), but I'm not sure. Created attachment 128138 [details]
screenshot of the error
Please try a recent build. This is likely a duplicate of one of package-info bugs that were fixed for 3.5M5, such as bug 263558 Lenik - please try the 3.5M6 build since this looks like a duplicate Believe this is a duplicate of bug 263558 Reopen if the 3.5M6 build does not fix your problem *** This bug has been marked as a duplicate of bug 263558 *** Verified for 3.5M7 |
Created attachment 128137 [details] The java project contains compilation error Build ID: I20090202-1535 Steps To Reproduce: The java project see attachment, I have excluded unrelated files as many as I can. The strange problem is, the @Doc annotation class can't be compiled, as it should be. But if I modify anything it (Doc.java) for example insert an unnecessary space or change the comment text, and save it, then it will be compiled correctly. But each time I clean the proejct, the error occurred again. The @Doc is referenced by a package-info.java, if I remove the @Doc(...) in the package-info, then the Doc.java can be compiled. (compile order bug???) And, there is a class A (Text Process/src/net/bodz/bas/text/interp/A.java), this class contains an inner class B, if I remove the inner class B, then everything become okay! I really can't figure out what happened... More information: