HotSpot RegisterNatives fails to throw exception for bad methods

XMLWordPrintable

    • mantis
    • generic
    • generic

      The JNI RegisterNatives() method specification says it
      returns -1 only if it throws an exception. Specifically, it should
      throw NoSuchMethodError if one of the method names and signatures
      cannot be found or if a method is non-native.

      From a code inspection, it appears HotSpot is returning
      -1 for these cases but is failing to throw/post the exception.

            Assignee:
            Hui Huang (Inactive)
            Reporter:
            Jeffrey Nisewanger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: