jruby--
uses same technique