Need some mechanism to call masked java methods (initialize)
------------------------------------------------------------

                 Key: JRUBY-2799
                 URL: http://jira.codehaus.org/browse/JRUBY-2799
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
         Environment: Any
            Reporter: Praki Prakash


I have some java classes which define a method named "initialize". These 
methods are expected to be called before the instance can be used. Ruby's 
initialize method hides the java instance method and I can never call that 
method. I haven't found any work around for this issue (__send__  invokes the 
Ruby's initialize method).

Is there any work around or possibility of a fix? This literally stopped me in 
my tracks while I was happily executing JRuby code until running into this 
issue. 

-- 
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


Reply via email to