This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]