Wednesday, November 19, 2014

Why does everyone hate Java?

import sun.misc.BASE64Encoder;
import sun.misc.BASE64Decoder;

...will allow you to do Base64 encoding with JDK 1.7.0_71 but when you include lines in NeatBeans there will be a yellow highlight beneath the lines. If you mouse over the lines you will get text telling you that it "is internal proprietary API and may be removed in a future release"

 
 

import java.util.Base64;

...in contrast will allow for Base64 encoding in the latest JDK but not in JDK 1.7.0_71.

No comments:

Post a Comment