You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2004/12/14 03:30:41 UTC

DO NOT REPLY [Bug 32681] New: - can't build with Kaffe because it uses com.sun. classes directly

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=32681>.
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=32681

           Summary: can't build with Kaffe because it uses com.sun. classes
                    directly
           Product: Security
           Version: cvs
          Platform: PC
               URL: http://brutus.apache.org/gump/kaffe/xml-security/xml-
                    security/gump_work/build_xml-security_xml-security.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encryption
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: robilad@yahoo.com


>From the gump output with jikes & kaffe

build.src:
    [javac] Compiling 149 source files to
/home/gump/workspaces2/kaffe/workspace/xml-security/build/classes

    [javac] Found 5 semantic errors compiling
"/home/gump/workspaces2/kaffe/workspace/xml-security/src/org/apache/xml/security/keys/content/x509/XMLX509SubjectName.java":

    [javac]     31. import sun.security.x509.X500Name;
    [javac]                ^------------------------^
    [javac] *** Semantic Error: The import "sun/security/x509/X500Name" is not
valid, since it does not name a type in a package.


    [javac]    102.    public static X500Name createX500Name(
    [javac]                          ^------^
    [javac] *** Semantic Error: Type "X500Name" was not found.


    [javac]    105.       return new X500Name(common, orgUnit, org, country);
    [javac]                          ^------^
    [javac] *** Semantic Error: Type "X500Name" was not found.


    [javac]    121.    public static X500Name createX500Name(
    [javac]                          ^------^
    [javac] *** Semantic Error: Type "X500Name" was not found.


    [javac]    124.       return new X500Name(common, orgUnit, org, locality,
state, country);
    [javac]                          ^------^
    [javac] *** Semantic Error: Type "X500Name" was not found.

I assume you could use the javax.security.auth.x500.X500Principal instead?

cheers,
dalibor topic

-- 
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.