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

Improve error message for NoSuchMethodError in JNI when registering natives

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: