Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b12

      Currently libstringPlatformChars is linked with `libjava.so` due to direct references to the following functions in libstringPlatformChars.c. These functions are not standard JNI APIs.

      - JNU_GetStringPlatformChars
      - JNU_ClassString
      - JNU_NewStringPlatform

      Same as JDK-8349868, explicitly linking with `libjava.so` causes runtime failure when running the test on static JDK due to missing `libjava.so`. See example failure in https://bugs.openjdk.org/browse/JDK-8349868?focusedId=14751207&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14751207. libstringPlatformChars is one of the couple rare cases in test/jdk/* that I found so far.

            Assignee:
            Jiangli Zhou
            Reporter:
            Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: