[Yanel-dev] Removal of sun.misc.BASE64Decoder
Michael Wechner
michael.wechner at wyona.com
Tue Aug 30 23:39:37 CEST 2011
Hi
I have recently reveived the following message when compiling the Yanel
servlet
[javac]
/home/wyona/data1/data1/src/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java:1780:
warning: sun.misc.BASE64Decoder is Sun proprietary API and may be
removed in a future release
[javac] sun.misc.BASE64Decoder dec = new
sun.misc.BASE64Decoder();
whereas this decoder is used in order to decode HTTP BASIC.
Does anyone know a good alternative?
I have found a couple of alternatives, but it's not really clear ...
http://www.asgarli.net/2011/03/replacing-sunmiscbase64encoder-and.html
http://stackoverflow.com/questions/469695/decode-base64-data-in-java
http://bouncy-castle.1462172.n4.nabble.com/Alternatives-for-Base64Decoder-and-Base64Encoder-td1466465.html
http://www.source-code.biz/base64coder/java/
Thanks
Michael
More information about the Yanel-development
mailing list