Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363776 - [Xtend] static methods are not overridden
Summary: [Xtend] static methods are not overridden
Status: CLOSED INVALID
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M4   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 03:17 EST by Sven Efftinge CLA
Modified: 2017-09-19 17:47 EDT (History)
2 users (show)

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-11-15 03:17:54 EST
Currently the override check ignores the static modifier.
It should only take non static methods into account.
Comment 1 Jan Koehnlein CLA 2011-11-21 05:57:08 EST
Java demands compatible signatures even on static methods. Given that the 'override' keywords should point users to such issues, it's a good idea to leave the check as strict as it currently is. We don't generate override annotations anyway, yet.
Comment 2 Jan Koehnlein CLA 2011-11-21 05:59:59 EST
Folloe up in bug 364298
Comment 3 Karsten Thoms CLA 2017-09-19 17:36:39 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:47:35 EDT
Closing all bugs that were set to RESOLVED before Neon.0