# bug report

Robert Shenk (shenk@mailcenter.csap.af.mil)
Wed, 16 Dec 1998 15:05:31 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: bug report"
- Previous message: Jan Luehe: "Re: JCE Availability"
- Next in thread: Jan Luehe: "Re: bug report"

hello,

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 =
    =====================================================================

- Next message: Jan Luehe: "Re: bug report"
- Previous message: Jan Luehe: "Re: JCE Availability"
- Next in thread: Jan Luehe: "Re: bug report"