Bug 32681 - can't build with Kaffe because it uses com.sun. classes directly
can't build with Kaffe because it uses com.sun. classes directly
Status: CLOSED FIXED
Product: Security - Now in JIRA
Classification: Unclassified
Component: Encryption
cvs
PC Linux
: P2 normal
: ---
Assigned To: XML Security Developers Mailing List
http://brutus.apache.org/gump/kaffe/x...
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2004-12-14 03:30 UTC by Dalibor Topic
Modified: 2006-08-06 10:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.