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

RedefineClasses unregisters native methods causing UnsatisfiedLinkError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • hotspot
    • b41
    • generic, sparc
    • generic, solaris_9

      java.lang.UnsatisfiedLinkError: wait
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:426)
              at java.util.TimerThread.mainLoop(Timer.java:403)
              at java.util.TimerThread.run(Timer.java:382)

      In this example Object has been redefined.

      This occurs when a class that has native methods gets redefined.
      After the redefinition, the native methods can no longer be called.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: