Summary: | [compiler] Odd compiler error message "Illegal modifier for the method ..." | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | minor | ||||||
Priority: | P3 | CC: | jerome_lanneluc, philippe_mulet | ||||
Version: | 3.5 | ||||||
Target Milestone: | 3.5 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Markus Keller
2008-07-07 13:23:44 EDT
One more: - "... for the method m.Try()" => should be Try.m() Created attachment 109995 [details]
Proposed patch with testcase
Released for 3.5M2 When you set 3.4 as API Baseline (and everyone should do this), you get an error for the missing @since 3.5 tag on org.eclipse.jdt.core.compiler.IProblem.IllegalModifierForConstructor. Adapted quick fix "Remove invalid modifiers" to new API in HEAD. Added since 3.5 tag thanks Markus 3 problems were reported in comment 0: - range problem (not fixed) - odd message (fixed) - request to list allowed modifiers (fixed) Marking verified for 3.5M2 using I20080914-2000. Markus, please open a separate bug for the range problem if this is important to you. |