Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: emb-8u33, 9
    • Component/s: core-libs
    • b78

        When libnio.so is loaded ClassLoader.c attempts to find the optional JNI_OnLoad function to initialize the library. Libnio does not have JNI_OnLoad function. However, the dlsym() call returns a pointer to the JNI_OnLoad of libjava.so which is a dependent of libnio.so. This is normal dlsym behavior.

              Assignee:
              Brian Burkhalter
              Reporter:
              Bill Pittore (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: