sun.security.provider.SeedGenerator is part of JDK, so
you could file a bug against it.
I am not clear about which JDK release you are using,
since "rel 5" and "rel 4" are not official release
designations.
Are you using JDK 1.2 or JDK 1.1.7?
We are aware of the broken SeedGenerator in JDK 1.1.7.
This problem will be fixed in JDK 1.1.8 and has already
been fixed in JDK 1.2.
Thanks,
Jan
> sorry for not posting this via the normal bug reporting web page because
> it doesn't give an option for jce ...
>
> i just upgraded to jdk rel 5 (12/4/98). it seems that something
> internal to java
> has changed since jdk rel 4 that has broken the seed generator. here is
> a snip of
> my code (really basic) :
>
> KeyGenerator generator = null;
> ObjectOutputStream out = null;
>
> try
> {
> generator = KeyGenerator.getInstance ("Blowfish");
> }
> catch (NoSuchAlgorithmException f) { System.err.println (f); }
> generator.init (448, new SecureRandom ());
> key = generator.generateKey ();
> try
> {
> out = new ObjectOutputStream (new FileOutputStream ("key"));
> out.writeObject (key);
> out.close ();
> }
> catch (IOException f) { System.err.println (f); };
>
>
> here is the results from a run :
>
> java.lang.InternalError: internal error: SeedGenerator thread generated
> an exception.
> at java.lang.Throwable.<init>(Throwable.java:94)
> at java.lang.Error.<init>(Error.java:50)
> at
> java.lang.VirtualMachineError.<init>(VirtualMachineError.java:42)
> at java.lang.InternalError.<init>(InternalError.java:41)
> at sun.security.provider.SeedGenerator.run(Compiled Code)
> at java.lang.Thread.run(Thread.java:480)
>
> let me know if you have any questions.
>
> _robert_
>
> --
>
> =====================================================================
> = Robert Shenk mailto:robert_shenk@tds.com ( 210 ) 377-0477 =
> =====================================================================