• Sprint 215 AMM, Sprint 217 AMM

      In Java 8, the java.util.Base64 class was finally introduced to replace internal classes sun.misc.BASE64Encoder and sun.misc.BASE64Decoder which user code had previously had to rely on to handle Base64 encoding. With Java 11, the old internal classes have now been removed so code must be converted to the java.util.Base64 API. An example can be seen in JDK-8006182 and this changeset.

      When
      a Java class uses sun.misc.BASE64Encoder or sun.misc.BASE64Decoder

      Perform
      add a hint to replace this with java.util.Base64.getMimeEncoder() or java.util.Base64.getMimeDecoder() respectively

        1. BASE64encode-BASE64decoder.png
          195 kB
          Karishma Punwatkar
        2. rule-id-00120.png
          127 kB
          Karishma Punwatkar

              rhn-support-kpunwatk Karishma Punwatkar
              rhn-engineering-ahughes Andrew Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: