Make generation of alternative method names for Java methods optional
---------------------------------------------------------------------
Key: JRUBY-5310
URL: http://jira.codehaus.org/browse/JRUBY-5310
Project: JRuby
Issue Type: Improvement
Components: Java Integration
Affects Versions: JRuby 1.6
Environment: Java integration
Reporter: Darrick Wiebe
Priority: Minor
Fix For: JRuby 1.6
The feature I'm referring to is described here:
http://kenai.com/projects/jruby/pages/CallingJavaFromJRuby#Alternative_Names_and_Beans_Convention
Although the transformed method names are nice, they can become a pain if you
want to subclass a native Java class because you have to overwrite all of the
variants of the method. Same thing if you want to make the method protected,
etc.
I would love to be able to do something like one of the following at the
beginning of my script:
{code:javascript}
JRuby.define_alternate_method_names = false
require 'java'
...etc...
{code}
--
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