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

(build) check for unexported symbols in mapfile

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • 10
    • 7, 8
    • infrastructure
    • generic
    • generic

    Description

      A common scenario with native libraries is that a developer introduces or
      refactors native code in the libraries, this might introduce a new JNI entry point, and the developer misses adding an entry in the corresponding mapfile, cause the entry to be marked as "LOCAL", ie. private.

      This entry point may never be called in the existing regression tests, thus causing
      undefined symbols or unsatisfied link errors at execution time.

      There needs to be a check in the build infrastructe to ensure that all JNI
      entry points and JVM entry points are exported GLOBAL via the mapfile.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: