java/net/Socket/B8312065.java failing with java.lang.UnsatisfiedLinkError with JDK 8 on Mac

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      Running the `java/net/Socket/B8312065.java` with JDK 8 and seeing the failure below (on Mac x64 and aarch64):

      ```
      Exception in thread "main" java.lang.UnsatisfiedLinkError: no NativeThread in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
      at java.lang.Runtime.loadLibrary0(Runtime.java:843)
      at java.lang.System.loadLibrary(System.java:1136)
      at B8312065.main(B8312065.java:42)
      ```

      Although the libNativeThread.so file seems to be present at the indicated location, test is still throwing a UnsatisfiedLinkError. Attaching .jtr file

        1. B8312065.jtr
          8 kB
          Satyen Subramaniam

            Assignee:
            Weibing Xiao
            Reporter:
            Satyen Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: