Issue with java.util.concurrent.Callable

Hi guys, so I was playing with concurrency in jruby and found some weird
behavior that I don’t understand. Here is gist with code sample and
description: https://gist.github.com/Gonzih/f62ccc35a9d4d8d23ba0 in
short issue is that if I call proc from inside instance of Callable I
can’t do any wrapping around this call (callbacks, error handilng and
etc). Can someone explain to me what is going on behind the scene?

Thanks!

keyboard - computer “in-between” error :slight_smile: … see comment.

next time try http://stackoverflow.com/questions/tagged/jruby

cheers, K.

Oh, thanks! Duck typing played against me this time :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs