Bug 32681

Summary: can't build with Kaffe because it uses com.sun. classes directly
Product: Security - Now in JIRA Reporter: Dalibor Topic <robilad>
Component: EncryptionAssignee: XML Security Developers Mailing List <security-dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: cvs   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
URL: http://brutus.apache.org/gump/kaffe/xml-security/xml-security/gump_work/build_xml-security_xml-security.html

Description Dalibor Topic 2004-12-14 03:30:41 UTC
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
Comment 1 Davanum Srinivas 2004-12-14 03:46:33 UTC
Fixed.

thanks,
dims
Comment 2 Raul Benito 2006-08-06 17:43:12 UTC
Closing old bugs.