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

Bug 342276

Summary: [Xtend] throws declaration is not computed transitively
Product: [Modeling] TMF Reporter: Robert von Massow <rvonmassow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert von Massow CLA 2011-04-08 08:29:25 EDT
Build Identifier: 2.0.0.v201104080435

For example take these two classes:

import static extension java.net.URLDecoder.*

class Foo{
	urlDecode (String s){
		s.decode("ISO-8859-1")
	}
}

class Bar {
	@Inject extension Foo
	bar(String s) {
		c.urlDecode
	}
}

The throws declaration is computed for Foo.urlDecode(String s) but not for Bar.bar(String s)

Reproducible: Always
Comment 1 Sven Efftinge CLA 2011-04-08 10:03:00 EDT
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 16:52:32 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:03:40 EDT
Closing all bugs that were set to RESOLVED before Neon.0