Visibility of protected methods inside define_method'd methods is incorrect
---------------------------------------------------------------------------
Key: JRUBY-1381
URL: http://jira.codehaus.org/browse/JRUBY-1381
Project: JRuby
Issue Type: Bug
Components: Interpreter
Environment: JRuby trunk on OpenSUSE 10.2
Reporter: Adam Glasgall
Attachments: protected_methods.tar.gz
Our application contains some helper methods on ActionController::Base that are
used to define Rails actions+before_filter's in one go. They use define_method
to define Rails actions; inside these dynamically generated methods, protected
methods are not visible.
A test case that works on MRI but fails on JRuby trunk is attached.
--
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