Wrong gzip data crashes JRuby ----------------------------- Key: JRUBY-4502 URL: http://jira.codehaus.org/browse/JRUBY-4502 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.4 Environment: latest jruby 1.5.0.dev Reporter: Vladimir Sizikov
The following code crashes JRuby: {code} require 'stringio' require 'zlib' data = '12345abcde' zip = "\037\213\b\000,\334\321G\000\005\000\235\005\000$\n\000\000" io = StringIO.new zip gz = Zlib::GzipReader.new io gz.read {code} In general, JRuby zlib code needs to be updated so that @JRubyMethod's should not throw java-level exceptions. -- 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