Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366387 - [Xtend]Throws declaration is not added to dispatch methods
Summary: [Xtend]Throws declaration is not added to dispatch methods
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 07:38 EST by Oliver L CLA
Modified: 2017-09-19 17:05 EDT (History)
3 users (show)

See Also:
sven.efftinge: juno+


Attachments
Xtend class (169 bytes, application/octet-stream)
2011-12-12 07:38 EST, Oliver L CLA
no flags Details
Generated java class (795 bytes, text/x-java-source)
2011-12-12 07:39 EST, Oliver L CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver L CLA 2011-12-12 07:38:12 EST
Build Identifier: 

I have a dispatch method which throws a checked exception. Unfortunately this exception is not included in the signature of the generated dispatch method.

TestClass is attached.

Reproducible: Always
Comment 1 Oliver L CLA 2011-12-12 07:38:37 EST
Created attachment 208251 [details]
Xtend class
Comment 2 Oliver L CLA 2011-12-12 07:39:04 EST
Created attachment 208253 [details]
Generated java class
Comment 3 Jan Koehnlein CLA 2012-01-03 09:14:54 EST
Pushed to MASTER.

To avoid too much noise, we also remove duplicate extension declarations when compiling JvmOperations to Java. Note that we cannot filter those when inferring the JVM model, as we're not allowed to resolv types at that moment.
Comment 4 Karsten Thoms CLA 2017-09-19 16:54:41 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:05:30 EDT
Closing all bugs that were set to RESOLVED before Neon.0