Re: Proposal: ModuleReferenceImpl.c to use ReleaseStringUTFChars not jvmtiDeallocate

2017-08-25 Thread Alan Bateman
On 25/08/2017 15:59, Steve Groeger wrote: Hello, I would like to propose the change below to src/jdk.jdwp.agent/share/native/libjdwp/ModuleReferenceImpl.c native code so that the getName function use ReleaseStringUTFChars() to release the memory obtained using GetStringUTFChars() instea

Proposal: ModuleReferenceImpl.c to use ReleaseStringUTFChars not jvmtiDeallocate

2017-08-25 Thread Steve Groeger
Hello, I would like to propose the change below to src/jdk.jdwp.agent/share/native/libjdwp/ModuleReferenceImpl.c native code so that the getName function use ReleaseStringUTFChars() to release the memory obtained using GetStringUTFChars() instead of the current jvmtiDeallocate() meth