classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] jni global ref patch


From: Craig Black
Subject: [cp-patches] jni global ref patch
Date: Tue, 1 Feb 2005 16:36:29 -0700 (MST)

Hello,
The attached patch fixes a couple of places where local jni references
were being used with signal handlers. The patch also fixes an issue with
state table entries being destroyed too soon. Comments?

Craig

2005-02-01  Craig Black  <address@hidden>

  * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  (copyState): Pass a JNI global reference to signal handler.
  (realize_cb): Use and free JNI global reference.

  * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  (create): Pass a JNI global reference to signal handler.
  (selection_changed): Match declaration.

  * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
  (dispose): Do not remove entries from state tables until after widget is
destroyed.



Attachment: globalref.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]