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

UnsatisfiedLinkError should specify the full method signature

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • hotspot
    • b76
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Right now UnsatisfiedLinkError only specifies the method name that cannot be resolved but without the method signature it is extremely difficult to resolve linking problems.

      One example I just ran into is that Java was throwing UnsatisfiedLinkError about missing method getBackgroundStyle() while this method existed with different arguments. It was not obvious what was going wrong because part of the build process involved an obfuscator so while the original source code for the C++ and Java method signatures matched, at runtime one of the arguments of the methods was renamed on the Java end. It took me two days to track down this problem!

      Please! Full method signatures!

      JUSTIFICATION :
      Ease of use
      ###@###.### 2005-1-13 19:32:05 GMT

            xlu Xiaobin Lu (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: