Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2
Assignee: Thomas E Enebo
Components: Standard Library
Created: 15/Aug/12 12:35 PM
Description:
jruby-1.7.0.preview2 :001 > require 'open-uri'
 => true 
jruby-1.7.0.preview2 :002 > open('http://www.isc.tamu.edu/~lewing/linux/sit3-shine.7.gif') { |f| f.read }
Encoding::UndefinedConversionError: Input length = 1
	from org/jruby/RubyIO.java:2892:in `read'
	from (irb):2:in `evaluate'
	from /Users/tim/.rvm/rubies/jruby-1.7.0.preview2/lib/ruby/1.9/open-uri.rb:150:in `open_uri'
	from /Users/tim/.rvm/rubies/jruby-1.7.0.preview2/lib/ruby/1.9/open-uri.rb:677:in `open'
	from /Users/tim/.rvm/rubies/jruby-1.7.0.preview2/lib/ruby/1.9/open-uri.rb:33:in `open'
	from (irb):2:in `evaluate'
	from org/jruby/RubyKernel.java:1070:in `eval'
	from org/jruby/RubyKernel.java:1395:in `loop'
	from org/jruby/RubyKernel.java:1178:in `catch'
	from org/jruby/RubyKernel.java:1178:in `catch'
	from /Users/tim/.rvm/rubies/jruby-1.7.0.preview2/bin/irb:17:in `(root)'
jruby-1.7.0.preview2 :003 >
Environment: Mac OS X 10.7.4 Java 1.7.0_05
Project: JRuby
Priority: Major Major
Reporter: Tim Olsen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to