Classloading glitch in publicLookup.findConstructor?
Charles Oliver Nutter
headius at headius.com
Fri Feb 24 16:06:46 UTC 2017
We've had a number of reports of LinkageError-related problems with a
constructor handle acquired through publicLookup.
Here's the commit that fixed the problem, with a link to a PR explaining
the error:
https://github.com/jruby/jruby/commit/32926ac194c03f0e61c0121e9da0b0427cfa5869
It seems like the error indicates a class is getting loaded into the
bootstrap classloader during lookup when it should not, and as a result any
child classloaders that load it later on have a conflicting copy.
Thoughts? This is tested on a very recent Java 8.
- Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20170224/1478fc4d/attachment-0001.html>
More information about the mlvm-dev
mailing list