Fixed: <rdar://problem/3872724> soft link against JavaVM to save ~2MB RSHRD
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Nov 2004 00:28:07 +0000 (00:28 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Nov 2004 00:28:07 +0000 (00:28 +0000)
commit0c7a10d1b064bfdb2bcf9ceb950b75d4381dbc16
tree3b3b8180c060ade1b9a431321cbaecb470ce38eb
parent2b5f8013c6062a2623b11cdd2bfdd37ec1fd470d
Fixed: <rdar://problem/3872724> soft link against JavaVM to save ~2MB RSHRD

        Reviewed by rjw.

        * ChangeLog:
        * JavaScriptCore.pbproj/project.pbxproj: don't link against JavaVM
        * bindings/softlinking.c: Added.
        (loadFramework): new
        (getFunctionPointer): new
        (JNI_GetCreatedJavaVMs): load JavaVM if not already loaded, get _JNI_GetCreatedJavaVMs symbol if we don't already have it, call JNI_GetCreatedJavaVMs

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.pbproj/project.pbxproj
JavaScriptCore/bindings/softlinking.c [new file with mode: 0644]