<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Patch is attached for readAllBytes().   Note that this code comes directly from Oracle’s Mercurial JDK9 repo, and thus may be unpublished source code, and I am attaching a license from the source code, as you can look it up yourself.  DO NOT USE THIS CODE WITHOUT INSTALLING ORACLE’S SOURCE CODE LICENSE ALONG WITH IT.  Your use of this code is entire in your hands.  I merely provide it as a convenience to you, and I recommend NOT using it.<div class=""><br class=""></div><div class="">John</div></body></html>