Hi!

We have some problems with the spec jvm applet and i think i've found a
problem. Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor uses
NSA_GET_PTR to get the graphics pointer, which calls cp_gtk_get_state.
This function may return NULL in exception case, which lets this code
crash:

  g = (struct graphics *) NSA_GET_PTR (env, obj);
  
  gdk_color_alloc (g->cm, &color);

May this be a problem? In fact, this crashes currently for me, but there
is no exception, it just returns NULL.

TWISTI



_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to