Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.0.1, JRuby 1.1b1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:revision 4073 , tested on Mac and Windows
-
Testcase included:yes
-
Patch Submitted:Yes
Description
test.rb :
str = <<-EOL
blah-blah
EOL
p str
>ruby test.rb
"blah-blah\n\n\n"
>jruby test.rb
"blah-blah\n"
^^^^ TWO MORE "\n"s ARE MISSING
Fixed in commit 4131 (patch by Dmitry Verkhovsky)