Community
Participate
Working Groups
Build Identifier: Version: Helios Release Build id: 20100617-1415 hi We found Eclipse is not catching some Java compile errors. Here is sample code: final static short retVal=0; public Integer my_Method() { return retVal; } ---------------- If retVal declared as final - no errors displayed. If it is not final - error "type mismatch" is displayed. And javac is getting this error always Reproducible: Always Steps to Reproduce: 1.thy this Java sample code with final and not final decalration 2. 3.
Could you try with a later version say 3.7 or even better 3.8 M5 ? I don't see the problem on HEAD.
Actually, we got this issue first on RTC 3.0.1 which is latest version of RTC. RTC is using Eclipse for compilation. After that I tried on Eclipse Helios and got the same result. So - we better to have fix for RTC 3.0.1.
See bug# 362279 comment#8 and bug# 362279 comment# 9. No plans to back port this as this is not a regression and also since this is not a blocker (the reverse case where we don't compile something which we should would have made a stronger case for back porting.) *** This bug has been marked as a duplicate of bug 362279 ***
Verified for 3.8 M6 using build I20120306-0800