Satoru Chinen created JRUBY-6497:
------------------------------------
Summary: Unable to convert varargs into String on JRuby 1.9 mode
Key: JRUBY-6497
URL: https://jira.codehaus.org/browse/JRUBY-6497
Project: JRuby
Issue Type: Bug
Environment: jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java
HotSpot(TM) 64-Bit Server VM 1.7.0_02) [Windows 7-amd64-java]
jruby 1.6.7 (ruby-1.8.7-p357) (snip)
Reporter: Satoru Chinen
Assignee: Thomas E Enebo
Attachments: varargs_test.rb
Hi.
I encountered the following problem when use gem 'Launchy' version 2.0.5 on
JRuby 1.6.7 (1.9 mode).
----------
launchy http://www.jruby.org/
Failure in opening http://www.jruby.org/ with options {}: can't convert
Launchy::Detect::HostOs into String
----------
I investigate the cause of this problem, as a result, guessed that the problem
is a bug of JRuby 1.9 mode.
I have attached script for reproduce this problem.
when this script run on jruby 1.9 mode, script was failed.
Script result of JRuby 1.9 mode
https://gist.github.com/1908767
but, when run on JRuby 1.8 and C Ruby 1.9.2, script was finished successfully.
Script result of JRuby 1.8 mode
https://gist.github.com/1908775
Script result of C Ruby 1.9.2
https://gist.github.com/1908781
Thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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