I changed it.

Thanks!

On Thu, Aug 21, 2008 at 3:31 PM, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
>
> On Aug 21, 2008, at 9:39 PM, [EMAIL PROTECTED] 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
>

Reply via email to