javah doesn't produce proper signatures for inner class native methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 5.0u1
    • Component/s: tools
    • None
    • b75
    • generic
    • solaris_nevada

      [dep, 18Apr2005]

        When given the following class:

          class foo {
                  class bar {
                          public native void aardvark();
                  }
          }

        javah produces a foo_bar.h which contains:

          JNIEXPORT void JNICALL Java_foo_bar_aardvark
            (JNIEnv *, jobject);

        which the jvm doesn't recognize. It should be (I think):

          JNIEXPORT void JNICALL Java_foo_0024bar_aardvark
            (JNIEnv *, jobject);

      ###@###.### 2005-04-18 23:25:22 GMT

            Assignee:
            Jonathan Gibbons
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: