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

UnsatisfiedLinkError when calling a native method from a subclass of Thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P1 P1
    • None
    • 1.2.1
    • hotspot
    • generic
    • solaris_7

      The attached test case gets an UnsatisfiedLinkError when attempting to call
      a native method from within a subclass of java.lang.Thread. If the native
      method stuff is moved out of the "threaded" class, it works fine. I've put together a very simple test case that demonstrates the problem.

      I'm using the following version of the JDK:
      java version "1.2.1"
      Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: