changeset 48541 | 946e34c2dec9 |
parent 47216 | 71c04702a3d5 |
48540:221cf8307606 | 48541:946e34c2dec9 |
---|---|
26 * @bug 4261170 |
26 * @bug 4261170 |
27 * @summary Tests for Random.nextBytes |
27 * @summary Tests for Random.nextBytes |
28 * @author Martin Buchholz |
28 * @author Martin Buchholz |
29 */ |
29 */ |
30 |
30 |
31 import java.util.*; |
31 import java.util.Arrays; |
32 import java.util.Random; |
|
32 |
33 |
33 public class NextBytes { |
34 public class NextBytes { |
34 private static void realMain(String[] args) throws Throwable { |
35 private static void realMain(String[] args) throws Throwable { |
35 byte[] expected = new byte[] |
36 byte[] expected = new byte[] |
36 {27, -105, -24, 83, -77, -29, 119, -74, -106, 68, 54}; |
37 {27, -105, -24, 83, -77, -29, 119, -74, -106, 68, 54}; |