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

Fix call parameter to GetStringChars() in HostLocaleProviderAdapter_md.c

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: