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

Fix call parameter to GetStringChars() in HostLocaleProviderAdapter_md.c

XMLWordPrintable

      In HostLocaleProviderAdapter_md.c, it always passes JNI_FALSE as last parameter to GetStringChars(), but the last parameter of GetStringChars() should be jboolean*, instead of jboolean. It happens to work, because JNI_FALSE = 0, the same as NULL pointer.

            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: