|Summary:||Seed from current time is useless|
|Product:||Tomcat 6||Reporter:||Stepan Koltsov <yozh>|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
|OS:||Mac OS X 10.3|
Description Stepan Koltsov 2009-03-16 21:34:33 UTC
fgrep -r 'new Random(System.currentTimeMillis())' . Gives 7 places where Random initialized with seed = currentTimeMillis. This is unnecessary, because better seed initialization happens in the default Random constructor.
Comment 1 Mark Thomas 2009-03-26 04:16:43 UTC
Thanks for the report. This has been fixed in trunk and have been proposed for 6.0.x
Comment 2 Mark Thomas 2009-04-07 12:26:00 UTC
This has been applied to 6.0.x and will be included in 6.0.20 onwards.