I was doing some concurrency benchmarks on various Rubys and I ran into a pretty nasty bug with IO#readpartial in JRuby. On EOF it would just return an empty string forever, instead of raising an EOFError as it should. I’m pretty surprised no one ran into this yet.
Since I thought this was pretty important I submitted a patch, they took notice, did some refactoring of their IO methods, and now it passes all of the readpartial rubyspecs. So you can expect a fully functioning IO#readpartial in JRuby 1.1.7. Good job JRuby guys!

Congratulations! It’s about time you got a patch accepted into a project as big and high-profile as JRuby.
Comment by Joshua Go — January 7, 2009 @ 11:29 pm
Thanks for the patch. Keep em coming…They are much appreciated.
Comment by Thomas Enebo — January 9, 2009 @ 2:47 pm