Charlie,

I have no idea if this is a problem in JRuby -- but I know you've done a bunch of work integrating NIO -- and I thought this was pretty interesting.

Shawn Pearce <spea...@spearce.org> the lead developer of jgit responded to this email describing a problem using NIO and getting java.nio.channels.ClosedByInterruptException exceptions:

  [jgit-dev] nio exception
  http://dev.eclipse.org/mhonarc/lists/jgit-dev/msg01474.html

In his response he references this blog post he wrote about a critical failing in the design of the NIO API where NIO will close an open file descriptor automatically during interrupt:

  Don't Assume You Know What's Best
  http://blog.spearce.org/2010/05/dont-assume-you-know-whats-best.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to