Codereview request for 8006295: Base64.Decoder.wrap( returns InputStream which throws unspecified IOException on attempt to decode invalid Base64 byte stream

Xueming Shen xueming.shen at
Thu Jan 31 22:15:10 UTC 2013


Obviously ioe is not an appropriate exception for invalid base64 bytes,
and it's inconsistent with the rest of decode methods, as the submitter
The change is to explicitly specify (as other decoding methods do) that
IAE will be thrown if the input stream contains invalid base64 bytes. The
impl is also updated according.

Please help review.


More information about the core-libs-dev mailing list