DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41892

           Summary: XML Security 1.4.0 does not build with IBM's JDK
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


xmlsec 1.4.0 fails to build with IBM's 1.5 JDK because it uses Sun internal
classes. Specifically, org.apache.xml.security.keys.content.x509.XMLX509SKI uses
 sun.security.util.DerValue, which is a non-public class.

$JAVA_HOME/bin/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20061002a 
(SR3) )
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20061001
(JIT enabled)
J9VM - 20060915_08260_lHdSMR
JIT  - 20060908_1811_r8
GC   - 20060906_AA)
JCL  - 20061002

build.src:
    [javac] Compiling 252 source files to
/home/dvm105/xml-security-1_4_0/build/classes
    [javac]
/home/dvm105/xml-security-1_4_0/src/org/apache/xml/security/keys/content/x509/XMLX509SKI.java:33:
cannot find symbol
    [javac] symbol  : class DerValue
    [javac] location: package sun.security.util
    [javac] import sun.security.util.DerValue;
    [javac]                          ^
    [javac]
/home/dvm105/xml-security-1_4_0/src/org/apache/xml/security/keys/content/x509/XMLX509SKI.java:142:
cannot find symbol
    [javac] symbol  : class DerValue
    [javac] location: class org.apache.xml.security.keys.content.x509.XMLX509SKI
    [javac]                 DerValue dervalue = new DerValue(derEncodedValue);
    [javac]                 ^
    [javac]
/home/dvm105/xml-security-1_4_0/src/org/apache/xml/security/keys/content/x509/XMLX509SKI.java:142:
cannot find symbol
    [javac] symbol  : class DerValue
    [javac] location: class org.apache.xml.security.keys.content.x509.XMLX509SKI
    [javac]                 DerValue dervalue = new DerValue(derEncodedValue);
    [javac]                                         ^
    [javac]
/home/dvm105/xml-security-1_4_0/src/org/apache/xml/security/keys/content/x509/XMLX509SKI.java:146:
cannot find symbol
    [javac] symbol  : variable DerValue
    [javac] location: class org.apache.xml.security.keys.content.x509.XMLX509SKI
    [javac]                 if (dervalue.tag != DerValue.tag_OctetString) {
    [javac]                                     ^
    [javac] 4 errors

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to