JETTY-1338 Trust default SecureRandom seed

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2849 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2011-03-03 06:55:25 +00:00
parent 8b1920859c
commit e844b82b70
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ jetty-7.3.1-SNAPSHOT
+ JETTY-1335 HttpClient's SelectConnector clean-up
+ JETTY-1333 HttpClient _timeout and _soTimeout is messed up
+ JETTY-1337 Workname cannot contain '.'
+ JETTY-1338 Trust default SecureRandom seed
jetty-7.3.0.v20110203 3 February 2011
+ JETTY-1259 NullPointerException in JDBCSessionIdManager when invalidating session (further update)

View File

@ -169,7 +169,8 @@ public abstract class AbstractSessionIdManager extends AbstractLifeCycle impleme
_weakRandom=true;
}
}
_random.setSeed(_random.nextLong()^System.currentTimeMillis()^hashCode()^Runtime.getRuntime().freeMemory());
else
_random.setSeed(_random.nextLong()^System.currentTimeMillis()^hashCode()^Runtime.getRuntime().freeMemory());
}