Re: Alternative to com.sun class

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

 



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@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux