Bug 267765 - Strange compilation error
Summary: Strange compilation error
Status: VERIFIED DUPLICATE of bug 263558
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 01:52 EDT by Lenik CLA
Modified: 2009-04-28 09:41 EDT (History)
2 users (show)

See Also:


Attachments
The java project contains compilation error (1.91 KB, application/x-gzip-compressed)
2009-03-10 01:52 EDT, Lenik CLA
no flags Details
screenshot of the error (74.59 KB, image/x-png)
2009-03-10 02:03 EDT, Lenik CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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