[Bug java/27908] VMSecureRandom generateSeed infinite loop? (Regression)

csm at gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 7 00:14:00 GMT 2006



------- Comment #8 from csm at gnu dot org  2006-06-07 00:08 -------
A workaround is to replace:

  while (running)
    counter++;

with:

  while (isRunning ())
    counter++;

And to add a method:

  boolean isRunning ()
  {
    return running;
  }

I'm working on a patch for this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27908



More information about the Gcc-bugs mailing list