Summary: | Failure to produce random values. | ||
---|---|---|---|
Product: | classpath | Reporter: | bensmyth <smythe70> |
Component: | classpath | Assignee: | Casey Marshall <csm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-classpath, csm, gcc-bugs, java-prs |
Priority: | P3 | ||
Version: | 0.20 | ||
Target Milestone: | 0.91 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2006-01-12 17:49:14 | |
Bug Depends on: | 24481 | ||
Bug Blocks: |
Description
bensmyth
2005-11-02 19:38:37 UTC
Confirmed for the GNU Classpath CVS version as of Thu Jan 12 18:47:25 CET 2006. On each start, we print the same sequence of numbers, when Sun's jre each time prints the different sequence of numbers. *** Bug 27111 has been marked as a duplicate of this bug. *** Testing a patch. Subject: Bug 24642 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Casey Marshall <rsdio@savannah.gnu.org> 06/04/14 18:33:43 Modified files: . : ChangeLog NEWS java/security : SecureRandom.java Added files: vm/reference/java/security: VMSecureRandom.java Log message: 2006-04-14 Casey Marshall <csm@gnu.org> Fixes PR classpath/24642 * NEWS: add note about SecureRandom changes, and addition of VMSecureRandom. * java/security/SecureRandom.java (isSeeded): new field. (setSeed, setSeed): set `isSeeded' to `true.' (nextBytes): seed this instance if `isSeeded' is false. (getSeed): call `generateSeed.' (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants. (generateSeed, generateSeed): new methods. * vm/reference/java/security/VMSecureRandom.java: new file. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7110&tr2=1.7111&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/NEWS.diff?tr1=1.131&tr2=1.132&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/security/SecureRandom.java.diff?tr1=1.21&tr2=1.22&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/vm/reference/java/security/VMSecureRandom.java?rev=1.1 Fixed in CVS. |