JRuby Embed should hide the warning, "already initialized constant STDERR"
--------------------------------------------------------------------------

                 Key: JRUBY-4192
                 URL: http://jira.codehaus.org/browse/JRUBY-4192
             Project: JRuby
          Issue Type: Bug
          Components: Embedding
    Affects Versions: JRuby 1.4
            Reporter: Yoko Harada
             Fix For: JRuby 1.5
         Attachments: hideConstantWarning.diff

When embedding API changes default output and error output, unwanted warning, 
"already initialized constant STDERR" is shown to users. As this problem was 
reported at 
http://old.nabble.com/Fwd%3A-JRuby-1.4.0RC1---changes-to-embedding--td25778191.html
 and 
http://kenai.com/projects/jruby-embed/lists/users/archive/2009-09/message/0, 
the warning is really confusing and annoying for users. To hide warning, JRuby 
should have a small change to control warning. Attached patch will fix this 
issue. If this patch is applied, one field and get/set accessor  methods will 
be added in org.jruby.RubyInstanceConfig, which is used org.jruby.Module. I 
want to apply the change if the patch seems good. So, please look into it.

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