Bug in JNI RegisterNatives?

Bryce McKinlay mckinlay@redhat.com
Fri Jun 16 16:04:00 GMT 2006


Juerg,
Thanks for the reminder. Ideally we should find a way to refer to 
klass->name directly rather than reading it as a String and converting 
it back to Utf8. Yes, doing it in this one instance doesn't hurt much, 
but it would simplify the patch a lot, and fixing it might come in 
useful elsewhere. Would the patch below help?
Also, was there a reason to change _Jv_AllocBytes() calls to _Jv_Malloc()?
For large changes we need a GCC copyright assignment on file with the 
FSF. See: http://gcc.gnu.org/contribute.html - I think we can accept 
this under the "small changes" rule, however. But, if you plan to 
contribute more changes in the future, it might be a good idea to start 
the paperwork process now.
Bryce
Juerg Lehni wrote:
> Tom,
>> Please let me know what I should do to get this patch finalized and 
> commited. I would like to make sure it's getting there soon.
>> Jürg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-class-getnameutf8.patch
Type: text/x-patch
Size: 1426 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20060616/3008cc29/attachment.bin>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /