--- ws-jaxme-0.3.1/buildjm.xml.orig 2006-07-30 18:46:21.000000000 +0200
+++ ws-jaxme-0.3.1/buildjm.xml 2006-07-30 19:04:24.000000000 +0200
@@ -54,6 +54,7 @@
+
--- ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java.orig 2006-07-30 18:49:11.000000000 +0200
+++ ws-jaxme-0.3.1/src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java 2006-07-30 19:02:54.000000000 +0200
@@ -18,8 +18,7 @@
import java.io.IOException;
-import sun.misc.BASE64Decoder;
-import sun.misc.BASE64Encoder;
+import gnu.crypto.util.Base64;
/**
@@ -33,11 +32,11 @@
}
public static byte[] decode(String pValue) throws IOException {
- return (new BASE64Decoder()).decodeBuffer(pValue);
+ return Base64.decode(pValue);
}
public static String encode(byte[] pValue) {
- return (new BASE64Encoder()).encode(pValue);
+ return Base64.encode(pValue);
}
public static void main(String[] args) throws Exception {