summaryrefslogtreecommitdiff
path: root/libjava/jni
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-27 12:10:12 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-27 12:10:12 +0000
commit8174c934f12831af1a7c76a2496dafc9a9a1e94f (patch)
tree612d1c3cc6ca3d5f78695a352f7e7dd6e1cb5329 /libjava/jni
parent9fbbe6173c58a4140ea875e343181d6e9427efd1 (diff)
downloadgcc-8174c934f12831af1a7c76a2496dafc9a9a1e94f.tar.gz
2004-06-27 Mark Wielaard <mark@klomp.org>
* java/awt/EventQueue.java (postEvent): Throw NullPointerException when argument is null. 2004-06-26 Mark Wielaard <mark@klomp.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI GetMethodID call. (cancel_clicked): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83731 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jni')
-rw-r--r--libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c b/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
index 92e2de33205..add9ef558ca 100644
--- a/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
+++ b/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
@@ -198,7 +198,7 @@ ok_clicked (GtkButton *button __attribute__((unused)),
jclass cx = (*gdk_env)->GetObjectClass (gdk_env, peer_obj);
hideID = (*gdk_env)->GetMethodID (gdk_env, cx, "gtkHideFileDialog", "()V");
gtkSetFilenameID = (*gdk_env)->GetMethodID (gdk_env, cx,
- "gtkSetFilename", "(Ljava.lang.String;)V");
+ "gtkSetFilename", "(Ljava/lang/String;)V");
isIDSet = 1;
}
@@ -230,7 +230,7 @@ cancel_clicked (GtkButton *button __attribute__((unused)),
jclass cx = (*gdk_env)->GetObjectClass (gdk_env, peer_obj);
hideID = (*gdk_env)->GetMethodID (gdk_env, cx, "gtkHideFileDialog", "()V");
gtkSetFilenameID = (*gdk_env)->GetMethodID (gdk_env, cx,
- "gtkSetFilename", "(Ljava.lang.String;)V");
+ "gtkSetFilename", "(Ljava/lang/String;)V");
isIDSet = 1;
}