Issue #3307 WebAppClassLoader.loadClass call resolveClass if resolve==true (#3328)

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2019-02-07 09:22:42 +11:00 committed by GitHub
parent cd304eb65b
commit 9a25f2757e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -533,7 +533,8 @@ public class WebAppClassLoader extends URLClassLoader
// If it is a server class, doesn't matter as we have loaded it from the
// webapp
webapp_class = this.findClass(name);
resolveClass(webapp_class);
if (resolve)
resolveClass(webapp_class);
if (LOG.isDebugEnabled())
LOG.debug("PLP webapp loaded {}",webapp_class);
return webapp_class;