On 7 July 2006 at 18:34, "Anton Luht" <[EMAIL PROTECTED]> wrote:
> Yuri,
>
> I'm trying to test serialization but the simple test:
>
> import java.io.*;
>
> public class Test {
> public static void main(String[] args) throws Throwable {
> ObjectOutputStream oos = new ObjectOutputStream(new
> ByteArrayOutputStream());
> oos.writeObject(new Object());
> }
> }
>
> fails:
>
> java.lang.Error: java.security.NoSuchAlgorithmException: MessageDigest SHA im
> ple
> mentation not found
> at java.io.ObjectStreamClass.computeSerialVersionUID(ObjectStreamClas
> s.j
> ava:345)
> ........
>
> I've built a version of classlib with your patch but the test still
> fails. Is it because I didn't apply it correctly or maybe something
> else is missing?
Yes. "jre/lib/security". Oddly enough I was just looking at this.
-Mark.
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]