-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Enum#valueOf thread safety issue #2014
Labels
Milestone
Comments
work-aroud is to use the following for now :
than
"only" prints as warnings which is due a concurrent initialization of the wrapper class : this (while still a valid JRuby issue) can be avoided when the class is initialized before hand e.g. :
|
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 3, 2015
…ltiple threads) avoid warnings such as rb:42 warning: already initialized constant JavaUtilConcurrent probably related to jruby#2014
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 4, 2015
…ltiple threads) avoid warnings such as rb:42 warning: already initialized constant JavaUtilConcurrent probably related to jruby#2014
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 4, 2015
…ltiple threads) avoid warnings such as rb:42 warning: already initialized constant JavaUtilConcurrent probably related to jruby#2014
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 4, 2015
…ltiple threads) avoid warnings such as rb:42 warning: already initialized constant JavaUtilConcurrent probably related to jruby#2014
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 6, 2015
…ltiple threads) avoid warnings such as rb:42 warning: already initialized constant JavaUtilConcurrent probably related to jruby#2014
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 27, 2015
…this fixes jruby#2014) ... triggered from JavaPackageModuleTemplate's const_get invocation end currently ends up as `JavaUtilities.get_proxy_class` call ... more work might be suitable to avoid the lock on places where it's likely redundant
kares
added a commit
to kares/jruby
that referenced
this issue
Feb 27, 2015
headius
added a commit
that referenced
this issue
Feb 27, 2015
This appears to help avoid issues with multiple or partially- initialized proxies as in #2014.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following snippet sometimes throws
ArgumentError: wrong number of arguments (1 for 2)
:Raw compiled trace (
-Xbacktrace.style=raw
):Adding a trace in
RubyToJavaInvoker#findCallableArityOne
, the looked up method is:Tested both on JRuby 1.7.11 and 1.7.16.
The text was updated successfully, but these errors were encountered: