From: "Jörg W Mittag" Date: 2009-08-04T05:15:09+09:00 Subject: Re: JRuby, ffi, bad file descriptor Daniel Berger wrote: > On Aug 3, 7:06�am, Charles Oliver Nutter wrote: >> So I'll divert this issue by asking: what does this get you that our >> built-in tempfile support does not? We do not use MRI's tempfile.rb; >> we've implemented our own on top of Java's tempfile support that >> performs quite a bit better. Perhaps there's a missing feature we can >> add. > Where is it? I looked through the source but didn't see it. The mapping for Ruby Classes in JRuby is Foo -> org.jruby.RubyFoo, so Tempfile is in src/org/jruby/RubyTempfile.java: https://GitHub.Com/JRuby/JRuby/blob/master/src/org/jruby/RubyTempfile.java I find it a bit hard to get around the project structure, too, especially since I'm not used to navigating big Java projects. (Also, the fact that the directory structure has "organically" grown over, what, 9(?) years now doesn't help, although it's still not 10% as bad as YARV.) jwm