Environment
JRuby 1.7.24-. JRuby 9k works as expected.
Expected Behavior
require "tempfile"
puts Tempfile.new("ddd", "C\tmp").path
Should be 'C:/tmp/ddd{random_crud}'.
Actual Behavior
C:\tmp\ddd{random_crud}
This also addresses a 2 failures on MRI's test suite in test/externals/ruby1.9/test_tempfile.rb.