cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject ClassUtils.java
Date Mon, 14 May 2001 17:55:02 GMT
Found this in ClassUtils.java:

    public static ClassLoader getClassLoader() {
        if (ClassUtils.loader == null) {
            setClassLoader(ClassUtils.class.getClassLoader());
        }

        return ClassUtils.loader;
    }

Seems to lead to infinite recursion if ClassUtils.loader is null when
entering the method. Or am I missing something?

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message