perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

Modify Base64 to use java.util.Base64 Encoder/Decoder rather than the sun.misc classes #1193

Closed rbygrave closed 3 years ago

rbygrave commented 3 years ago

With Java 8 we can migrate to use java.util.Base64.Decoder / Encoder rather than sun.misc.BASE64Decoder and sun.misc.BASE64Encoder.

The sun.misc classes are not be available in later versions of Java.

perwendel commented 3 years ago

Reviewed and (performance) tested.