Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4901

Use JDK8 Base64 impl in RESTEasy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.1.CR1, 7.1.0.DR8
    • REST
    • None

      https://github.com/resteasy/Resteasy/blob/master/resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/Base64.java is our own implementation for Base64

      I would suggest to use JDK 8+ based implementation - https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html

      RESTEasy implementation of Base64 class uses printStackTrace method, but this method shouldn't be used.

            rhn-support-asoldano Alessio Soldano
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: