[8] Request for review: 7124272: [macosx] VK_DELETE does produce an extraneous character in a TextArea or TextField (original) (raw)

Artem Ananiev artem.ananiev at oracle.com
Thu Mar 29 05:31:39 PDT 2012


Hi, Leonid,

a general question, not tightly related to the fix. Why do we want to generate KEY_TYPED events from Java? Do we receive such events from the native platform? Probably, not, because I see the following method in AWTEvent.m:

static void DeliverKeyTypedEvents(JNIEnv *env, NSEvent *nsEvent, jobject peer)

but it is not called from anywhere. Should it be deleted, or reused, or what?

Thanks,

Artem

On 3/27/2012 6:49 PM, Leonid Romanov wrote:

Hi, Please review a fix for 7124272: [macosx] VKDELETE does produce an extraneous character in a TextArea or TextField. This fix has already been pushed into 7u4.

Bug: http://bugs.sun.com/bugdatabase/viewbug.do?bugid=7124272 Webrev: http://cr.openjdk.java.net/~leonidr/MACOSXPORT-675/webrev.02/ Thanks, Leonid.



More information about the awt-dev mailing list