Bug 267765

Summary: Strange compilation error
Product: [Eclipse Project] JDT Reporter: Lenik <lenik>
Component: CoreAssignee: 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:
Description Flags
The java project contains compilation error
none
screenshot of the error none

Description Lenik CLA 2009-03-10 01:52:33 EDT
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:
Comment 1 Lenik CLA 2009-03-10 01:56:46 EDT
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.
Comment 2 Lenik CLA 2009-03-10 02:03:06 EDT
Created attachment 128138 [details]
screenshot of the error
Comment 3 Kent Johnson CLA 2009-03-10 14:05:04 EDT
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
Comment 4 Kent Johnson CLA 2009-03-17 10:50:17 EDT
Lenik - please try the 3.5M6 build since this looks like a duplicate
Comment 5 Kent Johnson CLA 2009-03-18 11:06:59 EDT
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 ***
Comment 6 Jay Arthanareeswaran CLA 2009-04-28 09:36:40 EDT
Verified for 3.5M7