Fixed the following java-related problems for xpidl on the trunk: 1. Typedefs from #includes are converted to the underlying native types (Bug #94192) 2. Identifiers that match java keywords or Object methods are escaped 3. Maps nsID->ID, nsIID->IID, nsCID->CID. 4. Map PRTime->long.
Marcus Marcus Fellinger wrote: > I tried both xpidl-versions. If you use the one from the mozilla trunk, > you will get code that doesn't compile. As I said, mozillas version uses > nsID, but nsID has been removed from Blackwood, and the java XPCOM > version takes that into account. So if at all, the java version is the > more usable one, and the one on the trunk has bitrotten. > > I just filed a bug against xpidl for producing java-code that doesn't > build with the current java-to-XPCOM bridge (Bug #123651). > > Marcus > >
