Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.1, JRuby 1.6.2, JRuby 1.6.3
-
Fix Version/s: JRuby 1.6.6
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Windows 7 SP1 x64, Java 1.6.0_21, JRuby 1.6.1 (1.9 mode)
-
Testcase included:yes
-
Number of attachments :
Description
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.
In 1.6.2 and 1.6.3 versions bug is present too.
Sorry, I can't find how to edit first message, to add this info in header