(1) j.u.Base64.getMimeDecoder().decode() throws exception for non-base64 character after padding =. For example "AA==\n"
(2) j.u.Base64.getMimeDecoder().encoder() does not add line ending at the end of the result, this should be documented explicitly.
(2) j.u.Base64.getMimeDecoder().encoder() does not add line ending at the end of the result, this should be documented explicitly.
- duplicates
-
JDK-8007379 Base64.getMimeDecoder().decode() throws IAE for a non-base64 character after padding
-
- Closed
-
-
JDK-8007433 Base64.Decoder.decode(ByteBuffer, ByteBuffer) doesn't throw IAE for non-valid Base64 if writing could not be done
-
- Closed
-
- relates to
-
JDK-8007379 Base64.getMimeDecoder().decode() throws IAE for a non-base64 character after padding
-
- Closed
-