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
Closed

jnr-constants update needed for JRuby 1.7.5 #788

headius opened this issue Jun 4, 2013 · 5 comments
Labels
Milestone

Comments

@headius
Copy link
Member

@headius 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
Copy link
Member Author

@headius headius commented Jun 4, 2013

/cc @enebo

@MarkMenard
Copy link

@MarkMenard MarkMenard commented Jun 5, 2013

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

@headius
Copy link
Member Author

@headius headius commented Jun 5, 2013

Cool, thanks @MarkMenard and @bbrowning!

@kares
Copy link
Member

@kares 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
Copy link
Member Author

@headius 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants