Summary: | [compiler] Misleading compiler warning | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Alexander Veit <Alexander.Veit> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | minor | ||||||
Priority: | P3 | CC: | philippe_mulet, remy.suen | ||||
Version: | 3.3 | ||||||
Target Milestone: | 3.5 M1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Alexander Veit
2008-05-31 17:00:57 EDT
This is indeed true for speed nowadays, which is a good evolution. Still it makes class files bigger. I agree the error message sounds a bit too harsh, it should stop mentioning performance ramifications. Also applications running in pure interpreted mode (no JIT) are slowed by such emulation Created attachment 103466 [details]
Proposed patch
Message catalog is not changeable before next release (for translation purpose). If I understand your patch correctly, the warning messages were changed. From the standpoint of the compiler architects this may make sense. From an application programmer's point of view it is probably a useless warning. BTW, Eclipse's problems view will still be flooded with hundreds of synthetic accessor warnings. This makes switching between projects in the same workspace very slow and may hide more serious warnings. Unfortunately I could not find a switch to turn these warnings off. Please provide such a switch. See preferences under: Java Compiler>Errors/Warnings>Code style>Access to non-accessible member of an enclosing type This warning is OFF by default. Released message change for 3.5M1 Fixed Verified for 3.5M1 using I20080805-1307 |