Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jnr-constants update needed for JRuby 1.7.5 #788

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

Comments

Projects
None yet
3 participants
@headius
Copy link
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

This comment has been minimized.

Copy link
Member Author

headius commented Jun 4, 2013

/cc @enebo

@MarkMenard

This comment has been minimized.

Copy link

MarkMenard commented Jun 5, 2013

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

@headius

This comment has been minimized.

Copy link
Member Author

headius commented Jun 5, 2013

Cool, thanks @MarkMenard and @bbrowning!

@kares

This comment has been minimized.

Copy link
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

This comment has been minimized.

Copy link
Member Author

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
You can’t perform that action at this time.