[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Crypto] building a GCJ-friendly version
From: |
Casey Marshall |
Subject: |
Re: [GNU Crypto] building a GCJ-friendly version |
Date: |
Sat, 20 Sep 2003 05:36:40 -0700 |
User-agent: |
Mutt/1.4i |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Sep 20, 2003 at 09:55:50AM +0200, Mark Wielaard wrote:
> On Sat, 2003-09-20 at 02:23, Raif S. Naffah wrote:
> > i'll attempt today rebuilding a GCC pre-this patch to check if it also
> > solves the problems i'm encountering.
>
> But that won't work either since you do need a patch from Bryce McKinlay
> (http://gcc.gnu.org/ml/java-patches/2003-q3/msg00648.html) which went in
> after Roger Sayle his patch went in. So make sure that you do apply that
> one. Or do a clean checkout from gcc HEAD and make sure that you reverse
> Roger his patch (reverse patch attached).
>
Applying this patch to the current CVS eliminates my problems.
Incidentally, I did some more investigation and determined the cause of
the exception I was getting: the wrong method was being called.
In the BaseCipher class, when the method `makeKey' of TripleDES should
have been called, `decrypt' was called instead. Since these methods take
different arguments and a different number of arguments, this explains
the ClassCastExceptions/NullPointerExceptions.
Cheers,
- --
Casey Marshall || address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/bEm7gAuWMgRGsWsRAv//AJ42eAynPe8a1GP2I7Shrg/WWrZ3VgCghQoK
wpCN02QlDffp2gnFuM+exic=
=KD2V
-----END PGP SIGNATURE-----