The following snippet sometimes throws
Raw compiled trace (
Adding a trace in
Tested both on JRuby 1.7.11 and 1.7.16.
The text was updated successfully, but these errors were encountered:
work-aroud is to use the following for now :
"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. :
…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
This appears to help avoid issues with multiple or partially- initialized proxies as in #2014.
…hods correctly closing #2014