JNI -vs- stdio.h

Tom Tromey tromey@redhat.com
Fri Mar 8 12:03:00 GMT 2002


I just ran across some JNI code that uses NULL but which doesn't
include stdio.h or any other header that might define it.

I notice that Sun's jni.h does include stdio.h.
I'm reluctant to do this, but I think I will write a patch to change
ours to include stdio.h as well, for compatibility.

Is there any reason not to do this?

Tom



More information about the Java mailing list