mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
ignore instances of DelegatingClassLoader in JVM_LatestUserDefinedLoader
This commit is contained in:
parent
d16bf57634
commit
8283e1da46
@ -3138,7 +3138,13 @@ EXPORT(JVM_LatestUserDefinedLoader)(Thread* t)
|
||||
|
||||
virtual bool visit(Processor::StackWalker* walker) {
|
||||
object loader = classLoader(t, methodClass(t, walker->method()));
|
||||
if (loader and loader != root(t, Machine::BootLoader)) {
|
||||
if (loader
|
||||
and loader != root(t, Machine::BootLoader)
|
||||
and strcmp
|
||||
(&byteArrayBody(t, className(t, objectClass(t, loader)), 0),
|
||||
reinterpret_cast<const int8_t*>
|
||||
("sun/reflect/DelegatingClassLoader")))
|
||||
{
|
||||
this->loader = loader;
|
||||
return false;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user