This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Proposal for CNI/JNI problems
Paul Fisher (pnfisher@redhat.com) wrote:
> > (1) Is it OK to write Classpath in C++ rather than C?
>
> Yes.
>
> > (2) Is it OK for Classpath to depend on G++ extensions?
>
> Yes.
I think this should be considered very carefully. I would like to avoid
these dependencies if possible. Particularly any dependencies on gcc.
Personally, it looks like in the core classes there will be so little
code that the JNI/CNI thing could be handled with #ifdef CNI/JNI and
a configure time option added to enable it. Or a set of macros might
handled almost everything reasonably well.
--
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/