Code Review Request for two pass signing
Weijun Wang
weijun.wang at oracle.com
Tue Apr 19 18:39:52 PDT 2011
I've written a sun.misc.IOUtils.readFully() for InputStream. If this is
a common pattern, you can add a method there.
-Max
On 04/19/2011 11:28 PM, Alan Bateman wrote:
> Sean Mullan wrote:
>>
>> Got you. Does this look ok:
>>
>> for (long position = 0; position< remainderStart;) {
>> position += source.transferTo(position,
>> remainderStart, dest);
>> }
>>
>>
> Yes, that will do it. Same thing for the remainder that goes after the
> signature setion.
>
> -Alan
>
More information about the jigsaw-dev
mailing list