Damn, now my compilation doesn't work anymore (breaks on not finding the
xalan stuff when generating the docs). Any of you guys see the same thing?

Mathias

----- Original Message -----
From: "Mathias Bogaert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 11:38 AM
Subject: [Xdoclet-devel] CVS update: xdoclet/core/src/xdoclet/util
LogUtil.java


>   User: pathoss
>   Date: 02/05/24 11:38:03
>
>   Modified:    core/src/xdoclet/util Tag: MODULE_REFACTORING_BRANCH
>                         LogUtil.java
>   Log:
>   Fixed a bug resolving the LogFactory.findClassLoader() that checks for
null to the call to Thread.currentThread().getContextClassLoader(), but
according to the docs it either uses the primordial classloader or the
classloader set when the thread was created. It seems like it was never set,
so the primordial classloader is being returned, thus the
ClassNotFoundExceptions. Now it is set in a static initializer.
>
>   Revision  Changes    Path
>   No                   revision
>
>
>   No                   revision
>
>
>   1.1.2.3   +5 -1      xdoclet/core/src/xdoclet/util/Attic/LogUtil.java
>
>   Index: LogUtil.java
>   ===================================================================
>   RCS file:
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/util/Attic/LogUtil.java,v
>   retrieving revision 1.1.2.2
>   retrieving revision 1.1.2.3
>   diff -u -w -r1.1.2.2 -r1.1.2.3
>   --- LogUtil.java 21 May 2002 20:23:27 -0000 1.1.2.2
>   +++ LogUtil.java 24 May 2002 18:38:03 -0000 1.1.2.3
>   @@ -10,10 +10,14 @@
>    /**
>     * @author    <a href="mailto:[EMAIL PROTECTED]";>Mathias Bogaert</a>
>     * @created   4 mei 2002
>   - * @version   $Revision: 1.1.2.2 $
>   + * @version   $Revision: 1.1.2.3 $
>     */
>    public final class LogUtil
>    {
>   +    static {
>   +
Thread.currentThread().setContextClassLoader(LogUtil.class.getClassLoader())
;
>   +    }
>   +
>        /**
>         * Returns an instance of Jakarta Commons Log object. For now
simply return the classname + name as a log.
>         *
>
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to