Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Accessing constants on Java proxy object may lead to NullPointerException #5783
JRuby version is
All objects reachable via
Some Java objects reachable via
this is a known issue as UNDEF and NEVER are part of the Java API.
in your case the problem might be how 'ext' is loaded:https://github.com/jonasoberschweiber/jruby-object-space-repro/blob/master/repro.rb#L2
Thanks for your reply!
Is there any way to safely work around this issue without skipping everything that lives under the
likely allops will fail, but its pbly only two problematic constants:
most ext loading should be safe but we might found a library that isn't updated such as you did.