This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/JDWP] Implement several JDWP callbacks


Tom Tromey wrote:

Keith> Ok?

Yes, thanks.

Committed. Thank you for looking at it.


Keith> +		    jthread thread, jclass klass)
[...]
Keith> +  Thread *t = reinterpret_cast<Thread *> (thread);

Is there a way we can define jthread == Thread* for internal purposes,
so we can get rid of these casts?

Yeah, we can define _CLASSPATH_VM_JVMTI_TYPES_DEFINED and then redefine the jthread, jthreadGroup, jlocation, and jrawMonitorID any way we like.


I'll work on a patch.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]