define_method methods do not display the correct stack trace, may not be using
frame safely
-------------------------------------------------------------------------------------------
Key: JRUBY-1853
URL: http://jira.codehaus.org/browse/JRUBY-1853
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.1
I committed a fix to define_method methods that prevents them from
double-framing. However, it may be the case that they now do not appropriately
set up the stack trace. It's also possible in the case of proc-based methods
that frames are not being used in a 100% safe way.
# Examine stack traces from define_method methods and ensure they are matching
MRI
# Examine how define_method methods with a proc are using their enclosing frame
and scope
# Write tests or specs for both and fix where necessary
Note that this could become a higher priority if someone reports a demonstrable
problem with the current implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email