-
Bug
-
Resolution: Fixed
-
P4
-
7u6
-
Linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8131950 | 7u40 | Alexander Zvegintsev | P4 | Closed | Fixed |
While looking into another bug, I found the following, which appears to be wrong, and will always return null:
406 JNIEXPORT jobjectArray JNICALL Java_com_sun_glass_ui_gtk_GtkSystemClipboard_mimesFromSystem
407 (JNIEnv * env, jobject obj)
408 {
...
415 jclass resultClass = (*env)->FindClass(env, "Ljava/lang/String;");
FindClass should take a fully qualified classname without the "L" prefix or ";" suffix.
406 JNIEXPORT jobjectArray JNICALL Java_com_sun_glass_ui_gtk_GtkSystemClipboard_mimesFromSystem
407 (JNIEnv * env, jobject obj)
408 {
...
415 jclass resultClass = (*env)->FindClass(env, "Ljava/lang/String;");
FindClass should take a fully qualified classname without the "L" prefix or ";" suffix.
- backported by
-
JDK-8131950 Gtk: Error in looking up String class in native GtkSystemClipboard.mimesFromSystem method
-
- Closed
-