Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366387

Summary: [Xtend]Throws declaration is not added to dispatch methods
Product: [Modeling] TMF Reporter: Oliver L <oliver.libutzki>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sven.efftinge, tmf.xtext-inbox
Version: 2.2.0Flags: sven.efftinge: juno+
Target Milestone: M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Xtend class
none
Generated java class none

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