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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 8
    • 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

            wxiao Weibing Xiao
            ssubramaniam Satyen Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: