Header file jvmti.h (as well as deprecated jvmpi.h) from classlib does
not support C++ sources, only plain C ones. This is why JDWP agent
code, wtitten in C++, cannot use jvmti.h from classlib.

DRLVM copies of jni.h and jvmti.h correctly support both C and C++
sources, so we could use them and get rid of classlib ones.

Thanks.
Ivan

On 11/30/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
Right now, we have two jvmti.h files (and jni.h files) in the project,
one set in classlib, and one set in DRLVM.

Seems like the ones in classlib are broken - simply because I can build
working jdwp binaries using the headers in DRLVM, and it won't compile
when using the headers from DRLVM.

Now, I guess we can go figure out what's wrong, but is anyone married to
the set in classlib?  I'm going to ignore them in the JDK build, but
maybe we should just get rid of them?

geir

Reply via email to