View | Details | Raw Unified | Return to bug 52833
Collapse All | Expand All

(-)java/org/apache/catalina/core/StandardServer.java (-1 / +1 lines)
Lines 800-806 Link Here
800
                    getCatalina().getParentClassLoader();
800
                    getCatalina().getParentClassLoader();
801
            // Walk the class loader hierarchy. Stop at the system class loader.
801
            // Walk the class loader hierarchy. Stop at the system class loader.
802
            // This will add the shared (if present) and common class loaders
802
            // This will add the shared (if present) and common class loaders
803
            while (cl != ClassLoader.getSystemClassLoader()) {
803
            while (cl != ClassLoader.getSystemClassLoader() && cl != null) {
804
                if (cl instanceof URLClassLoader) {
804
                if (cl instanceof URLClassLoader) {
805
                    URL[] urls = ((URLClassLoader) cl).getURLs();
805
                    URL[] urls = ((URLClassLoader) cl).getURLs();
806
                    for (URL url : urls) {
806
                    for (URL url : urls) {

Return to bug 52833