Uploaded image for project: 'Clojure'
  1. CLJ-843

clojure.lang.RT should provide a loadLibrary static method

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects versions: Release 1.3
    • Fix versions: Release 1.4
    • Labels:
      None
    • Approval:
      Ok
    • Patch:
      Code

      Description

      Right now, loading native libraries in Clojure doesn't work as expected because those libraries are loaded into the classloader of the invoking class (that is, Clojure's own classloader).

      This problem has been discussed on the mailing list and a patch has been welcomed by Rich -

      https://groups.google.com/group/clojure/browse_thread/thread/aa72e43091ec3228?pli=1
      https://groups.google.com/forum/#!topic/clojure-dev/awe7-yeieIM
      https://groups.google.com/forum/?hl=en#!topic/clojure-dev/OFQhDKHTyrw

      To fix this, I am attaching a trivial patch that implements loadLibrary in RT.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: