Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8006530

Base64.getMimeDecoder().decode() throws exception for non-base64 character after padding =

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • None
    • 8
    • b77
    • Verified

      (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.

            sherman Xueming Shen
            sherman Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: