jnr-constants update needed for JRuby 1.7.5 #788

Closed
headius opened this Issue Jun 4, 2013 · 5 comments

Projects

None yet

3 participants

@headius
Member
headius commented Jun 4, 2013

The jnr-constants fix and subsequent commits addressed TORQUE-982 but were never incorporated into a JRuby release. The workaround in Torquebox masked this fact, but other users have reported the same issue (@MarkMenard today).

We need to roll jnr-constants 0.8.5 release out and include it in JRuby 1.7.5.

Note that users can work around this issue the same way as Torquebox by running the following code at least once in the classloader that loads their app instances: torquebox/torquebox@dee925f

For the record, this manifests as a NullPointerException when loading some core libraries that hit jnr-constants ConstantSets in parallel. @MarkMenard's case was that the fcntl library failed to load with error message "library `fcntl' could not be loaded".

@headius
Member
headius commented Jun 4, 2013

/cc @enebo

@MarkMenard

Here's the workaround I'm using care of bbrowning. https://gist.github.com/MarkMenard/5710668

@headius
Member
headius commented Jun 5, 2013

Cool, thanks @MarkMenard and @bbrowning!

@kares
Member
kares commented Aug 23, 2013

@MarkMenard would be great to mention it in JRuby-Rack's wiki ... https://github.com/jruby/jruby-rack/wiki thanks

@headius
Member
headius commented Oct 1, 2013

jnr-constants was updated.

@headius headius closed this Oct 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment