2 Commits

Author SHA1 Message Date
Brian Burkhalter
dee3c23d5b 8200449: ReadAllReadNTransferTo fails occasionally
Don't pass a non-positive parameter to Random.nextInt(int).

Reviewed-by: chegar
2018-03-29 12:38:47 -07:00
Brian Burkhalter
68cf42d465 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
Reviewed-by: bchristi, rriggs, psandoz
2018-03-23 10:09:45 -07:00