Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8118876

Gtk: Error in looking up String class in native GtkSystemClipboard.mimesFromSystem method

XMLWordPrintable

        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.

              azvegint Alexander Zvegintsev
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: