[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [fedora-java] Alternative to com.sun class



Robert Marcano wrote:
jakarta-commons-codec

http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64.html


Finally figured out where to add the path, but it looks like it's not a drop in replacement for the com.sun class:


[java] [javac] Compiling 1 source file to /export/home/orion/fedora/gridengine/devel/gridengine/source/CLASSES/juti/classes
     [java]     [javac] ----------
[java] [javac] 1. ERROR in /export/home/orion/fedora/gridengine/devel/gridengine/source/libs/juti/java/com/sun/grid/security/login/GECATrustManagerLoginModule.java (at line 203)
     [java]     [javac]         byte[] message = Base64.decode(messa
     [java]     [javac] geStr);
     [java]     [javac]                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[java] [javac] Cannot make a static reference to the non-static method decode(Object) from the type Base64
     [java]     [javac] ----------
[java] [javac] 2. ERROR in /export/home/orion/fedora/gridengine/devel/gridengine/source/libs/juti/java/com/sun/grid/security/login/GECATrustManagerLoginModule.java (at line 203)
     [java]     [javac]         byte[] message = Base64.decode(messa
     [java]     [javac] geStr);
     [java]     [javac]                          ^^^^^^^^^^^^^^^^^^^^^^^^^
     [java]     [javac] Type mismatch: cannot convert from Object to byte[]
     [java]     [javac] ----------
[java] [javac] 3. ERROR in /export/home/orion/fedora/gridengine/devel/gridengine/source/libs/juti/java/com/sun/grid [java] [javac] /security/login/GECATrustManagerLoginModule.java (at line 210) [java] [javac] byte[] signature = Base64.decode(signatureStr); [java] [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] [javac] Cannot make a static reference to the non-static method decode(Object) from the type Base64
     [java]     [javac] ----------
[java] [javac] 4. ERROR in /export/home/orion/fedora/gridengine/devel/gridengine/source/libs/juti/java/com/sun/grid [java] [javac] /security/login/GECATrustManagerLoginModule.java (at line 210) [java] [javac] byte[] signature = Base64.decode(signatureStr); [java] [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [java]     [javac] Type mismatch: cannot convert from Object to byte[]
     [java]     [javac] ----------
     [java]     [javac] 4 problems (4 errors)

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion cora nwra com
Boulder, CO 80301              http://www.cora.nwra.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]