Improve error message for NoSuchMethodError in JNI when registering natives

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: hotspot
    • None
    • b30
    • generic
    • generic

      See 5101823.

      From its evaluation:

      Thanks to ###@###.### for this diagnosis:

        At the end of vm creation, the OptimizeIt v4.02 liboii.so tries to
        register a native function for "void java.lang.System.exit(int)" which
        isn't a native method. That caused the NoSuchMethodError (in
        register_native() in jni.cpp). Maybe we can put in a more informative
        message for the NoSuchMethodError.

      ###@###.### 2005-03-11 20:04:57 GMT

            Assignee:
            J. Duke
            Reporter:
            Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: