Re: svn commit: r687826 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java

From: Michael Gentry (blacknex..mail.com)
Date: Thu Aug 21 2008 - 16:26:52 EDT

  • Next message: Aristedes Maniatis: "Crucible"

    I changed it.

    Thanks!

    On Thu, Aug 21, 2008 at 3:31 PM, Andrus Adamchik <andru..bjectstyle.org> wrote:
    >
    > On Aug 21, 2008, at 9:39 PM, mgentr..pache.org wrote:
    >
    >> - return (PasswordEncoding) Util
    >> - .getJavaClass(getPasswordEncoderClass())
    >> - .newInstance();
    >> + return (PasswordEncoding) Thread.currentThread()
    >> + .getContextClassLoader()
    >> +
    >> .loadClass
    >> (getPasswordEncoderClass())
    >> + .newInstance();
    >
    > Util.getJavaClass is more environment agnostic than
    > Thread.currentThread().getContextClassLoader(), which is used internally as
    > the first strategy. So maybe this can be undone?
    >
    > Andrus
    >



    This archive was generated by hypermail 2.0.0 : Thu Aug 21 2008 - 16:27:23 EDT