Community
Participate
Working Groups
class foo { def bar() throws NullPointerException {} def fuzz() { throw Exception } def baz() { new File("test.txt").canonicalFile } } Calling typeprovider.getThrownExceptionTypes( XtendFunction bar) will compute the throw NullpointerException right and for the body of fuzz also but: typeprovider.getThrownExceptionTypes( Body of baz) will end up with an empty list This issue is cause by the Cachingstrategy in the XbaseTypeProvider.
*** This bug has been marked as a duplicate of bug 365109 ***