[1.9] String.split hungs JRuby on broken UTF-8 string.
------------------------------------------------------
Key: JRUBY-5808
URL: http://jira.codehaus.org/browse/JRUBY-5808
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6.1
Environment: Windows 7 SP1 x64, Java 1.6.0_21, JRuby 1.6.1 (1.9 mode)
Reporter: Maxim Sokolovsky
Priority: Critical
Attachments: test_string_split.rb
When split applied to broken UTF-8 string (without one byte from the right)
with unicode char at the end - JRuby silently hungs. On MRI Ruby 1.9.2 it
raises ArgumentError as expected.
I put minitest-bases test in attachment. If you doesn't accept minitest - write
please which test framework should I use.
--
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