I have a problem using the joda time library together with JRuby
(1.6.6 and 1.6.5).
It looks like we are using the same version of the library as JRuby
uses (version 2.0 -
https://github.com/jruby/jruby/tree/master/build_lib)
I've written a failing test - https://github.com/andreasronge/joda_jruby
The JUnit tests works (using JavaEmbedUtils.newRuntimeAdapter()) but
calling it from JRuby fails:
ruby jrubytest.rb
NativeException: java.lang.NoSuchMethodError:
org.joda.time.DateTime.<init>(IIIIII)V
(root) at jrubytest.rb:4
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Thanks,
/Nick
Thanks, I'm happy with that good explanation.
Luckily I have access to the source code using the joda library - I
can use another constructor instead.
Cheers
Andreas