Adding encapulated parse methods for external uses, such as JSR223 API 
implementation 
--------------------------------------------------------------------------------------

                 Key: JRUBY-1489
                 URL: http://jira.codehaus.org/browse/JRUBY-1489
             Project: JRuby
          Issue Type: Improvement
          Components: Java Integration
    Affects Versions: JRuby 1.0.2
         Environment: All
            Reporter: Yoko Harada
         Attachments: diff-of-JavaEmbedUtils-for-jsr223.txt

The changes provide two fixes for external uses of parse methods in 
org.jruby.Ruby class.  The first fix is to encapsulate parse methods not to 
affect their modification to outer API or implementation, by adding wrapped 
parse methods. The second fix is to enable handling a java.io.Reader type input 
to JRuby. JSR 223 API expects a user to specify a script by Reader type without 
setting any filename. To hand JRuby correct form of the script, one new method 
is added, since java.io.Reader encodes an input scripts, which is an unwanted 
one for JRuby. Another method creates a java.io.InputStream type input when a 
script's filename  is given.

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