Hi, Ichiroh.
The changes looks good, i think that the test from
the bug description can be integrated as well.

Note that, src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKEngine.c has 
same kind of code.
But buffer handling is not same, so I could not determine, I need to change 
swing_GTKEngine.c or not.

I think that in swing_GTKEngine.c we have an opposite
problem when we use the java length as the size of the array,
so GetStringUTFRegion may overrun the conversionBuffer.
BTW I think we need to clean conversionBuffer before each usage.



--
Best regards, Sergey.

Reply via email to