[ https://issues.apache.org/jira/browse/GROOVY-11362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-11362: --------------------------------- Fix Version/s: 4.0.22 > implicit type of catch parameter is written as Object > ----------------------------------------------------- > > Key: GROOVY-11362 > URL: https://issues.apache.org/jira/browse/GROOVY-11362 > Project: Groovy > Issue Type: Bug > Components: Compiler > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > Fix For: 5.0.0-alpha-9, 4.0.22 > > > Consider the following: > {code:groovy} > void test(args) { > try { > args.name > } catch (e) { > print(e) > } > } > {code} > Set a breakpoint within the catch block and try to evaluate an expression > with "e" like: {{e.printStackTrace()}} > The debugger complains that "printStackTrace" is not a method of > java.lang.Object. -- This message was sent by Atlassian Jira (v8.20.10#820010)