groovy

user vs. developer error messages - filtering stack traces

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1-rc-2
  • Component/s: None
  • Labels:
    None
  • Environment:
    all
  • Number of attachments :
    0

Description

To avoid frightening new users of Groovy, executing scripts should not (by default) result in a Java stack trace that indicates where within the Groovy parser processing stopped.

There should be a way to enable output of stack traces for developers of Groovy though.

Issue Links

Activity

Hide
Chris Poirier added a comment -

The initial drop of this is in place in CVS and for beta-4, primarily as it affects the FileSystemCompiler (groovyc). Work continues on a parser overhaul, by the end of which this bug should be closeable.

Show
Chris Poirier added a comment - The initial drop of this is in place in CVS and for beta-4, primarily as it affects the FileSystemCompiler (groovyc). Work continues on a parser overhaul, by the end of which this bug should be closeable.
Hide
Chris Poirier added a comment -

The latest CVS code now contains:

  • further parser recovery points; and
  • error reporting in the Groovyc Ant task.
Show
Chris Poirier added a comment - The latest CVS code now contains:
  • further parser recovery points; and
  • error reporting in the Groovyc Ant task.
Hide
blackdrag blackdrag added a comment -

things where better in beta-10 and after switching to the jsr compiler there were many new stacktraces. But I think JSR-02 will be much better here

Show
blackdrag blackdrag added a comment - things where better in beta-10 and after switching to the jsr compiler there were many new stacktraces. But I think JSR-02 will be much better here
Hide
Paul King added a comment -

Is this supported now with the -d switch or is something more expected?

Show
Paul King added a comment - Is this supported now with the -d switch or is something more expected?
Hide
Paul King added a comment -

No further feedback, assuming current -d is all that is required.

Show
Paul King added a comment - No further feedback, assuming current -d is all that is required.

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: