harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht" <anton.l...@gmail.com>
Subject Re: [classlib][security] crypto provider: implementation of SHA-1 algorithm
Date Fri, 07 Jul 2006 14:34:23 GMT
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 imple
mentation not found
        at java.io.ObjectStreamClass.computeSerialVersionUID(ObjectStreamClass.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?

-- 
Regards,
Anton Luht,
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message