History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-2755
Type: Bug Bug
Status: Open Open
Priority: Trivial Trivial
Assignee: Charles Oliver Nutter
Reporter: Charles Oliver Nutter
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JRuby

Precompiled scripts do not set initial position information correctly

Created: 04/Jul/08 10:42 AM   Updated: 16/Jul/08 03:01 AM
Component/s: Compiler
Affects Version/s: None
Fix Version/s: JRuby 1.1+

Time Tracking:
Not Specified


 Description  « Hide
If you look at the two preNodeEval versions in ThreadContext, one takes a string filename and the other doesn't. The one that doesn't is used by the compiled loading process, and it means that stack traces happening in the root of precompiled scripts may have incorrect positioning information.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter - 16/Jul/08 03:01 AM
Downgrading to trivial and punting; the exposure case is very minimal, since basically all scripts immediately set position once they start. The likely case where this could break is if there's an error during default arg processing.