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

Convert use of sun.misc.BASE64Encoder/Decoder with java.util.Base64

    XMLWordPrintable

    Details

    • Resolved In Build:
      b11

      Backports

        Description

        There are two dependencies from jdk repo (source) on sun.misc.BASE64Encoder/Decoder

        jdk9-dev/jdk/src/share/classes/com/sun/jndi/ldap/Obj.java:
        45:import sun.misc.BASE64Encoder;
        327: BASE64Encoder encoder = null;
        338: encoder = new BASE64Encoder();
        ----------------------------------------------------
        jdk9-dev/jdk/src/share/classes/sun/net/ftp/impl/FtpClient.java:
        46:import sun.misc.BASE64Encoder;
        1902: BASE64Encoder encoder = new BASE64Encoder();
        ----------------------------------------------------

        java.util.Base64 should be used instead.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: