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

(-)org/apache/catalina/loader/WebappClassLoader.java (+4 lines)
Lines 890-895 Link Here
890
                    throw cnfe;
890
                    throw cnfe;
891
                }
891
                }
892
            } catch(AccessControlException ace) {
892
            } catch(AccessControlException ace) {
893
                log.warn("WebappClassLoader.findClassInternal(" + name
894
                        + ") security exception: " + ace.getMessage(), ace);
893
                throw new ClassNotFoundException(name, ace);
895
                throw new ClassNotFoundException(name, ace);
894
            } catch (RuntimeException e) {
896
            } catch (RuntimeException e) {
895
                if (log.isTraceEnabled())
897
                if (log.isTraceEnabled())
Lines 902-907 Link Here
902
                        clazz = super.findClass(name);
904
                        clazz = super.findClass(name);
903
                    }
905
                    }
904
                } catch(AccessControlException ace) {
906
                } catch(AccessControlException ace) {
907
                    log.warn("WebappClassLoader.findClass(" + name
908
                            + ") security exception: " + ace.getMessage(), ace);
905
                    throw new ClassNotFoundException(name, ace);
909
                    throw new ClassNotFoundException(name, ace);
906
                } catch (RuntimeException e) {
910
                } catch (RuntimeException e) {
907
                    if (log.isTraceEnabled())
911
                    if (log.isTraceEnabled())

Return to bug 48097