Ticket #1 (closed enhancement: fixed)
remove deprecated BASE64Encoder classes
| Reported by: | matighet | Owned by: | prubel |
|---|---|---|---|
| Priority: | minor | Component: | HTTPS proxy |
| Version: | Keywords: | ||
| Cc: |
Description
When compiling phishbouncer with jdk1.6, the following warnings show up:
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:61: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future r
[javac] import sun.misc.BASE64Decoder;
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:62: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future r
[javac] import sun.misc.BASE64Encoder;
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:428: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
[javac] BASE64Encoder encoder = new BASE64Encoder ();
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:428: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
[javac] BASE64Encoder encoder = new BASE64Encoder ();
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:453: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
[javac] BASE64Decoder decoder = new BASE64Decoder ();
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:453: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
[javac] BASE64Decoder decoder = new BASE64Decoder ();
[javac] ^
[javac] /home/matighet/projects/pb/pb/src/com/bbn/pb/sec/SecurityComponent.java:471: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
[javac] BASE64Encoder encoder = new BASE64Encoder ();
The solution is to use an alternate encoder/decoder class.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
