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

revisit foreign library loading

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • repo-panama
    • None
    • tools
    • generic
    • generic

    Description

      On Windows and Mac, default lookup allows looking up symbols from any loaded library in the process. On Linux, it does not work that way. We need a stable, portable solution for default lookup.

      One of the main reasons for default lookup is to allow uses to use standard C runtime library functions (from stdlib.h, stdio.h, math.h etc.) without having to load platform specific C runtime library / libraries.

      Instead of fixing default lookup alone, foreign library loading is going to be revisited as documented in

      https://mail.openjdk.java.net/pipermail/panama-dev/2021-April/013577.html

      We plan to use the current bug for library loading changes.

      Attachments

        Issue Links

          Activity

            People

              sundar Sundararajan Athijegannathan
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: