Closed ctide closed 5 years ago
Is this not working for you in Java 7? This should be a Java 7 compatible change.
Related to #69
I think since it use apache-common instead of Java 8 Base64
it is Java 1.7 compatible. @ctide could you share a gist checking that two-way codec are compatible? It would be like https://github.com/Tencent/TubeMQ/pull/70#issuecomment-540014908
https://gist.github.com/ctide/fd516723790d365952c64ac06fce43ee just updating the one in the other comment to use apache commons instead works. I wouldn't want to add the test itself to the project because then you have to bring in the sun libs.
thanks @ctide
Replace reference to sun.misc.BASE64Encoder with org.apache.commons.code.binary.Base64