Request for review for [JBS] (JDK-8004212) java.util.Base64 methods decodeArray and decodeBuffer should return the number of bytes written

Alan Bateman Alan.Bateman at oracle.com
Sat Dec 1 15:58:20 UTC 2012


On 30/11/2012 21:03, Xueming Shen wrote:
> Alan,
>
> It appears the return value is not correct in decode(Bytebuffer...) 
> case if
> the buffer is overflow. Here is the webrev for that.
>
> http://cr.openjdk.java.net/~sherman/8004212/webrev/
I assume you mean the initial position is not 0 rather than overall. In 
any case, it looks fine to me.

-Alan.



More information about the core-libs-dev mailing list