harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1505) [build?] Some of the Harmony jni libraries has wrong function names inside
Date Thu, 28 Sep 2006 12:00:53 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1505?page=all ]

Alexey Petrenko updated HARMONY-1505:

    Attachment: HARMONY-1505.diff

Investigation shown that removing JNI methods from EXPORTS section of def files solves the
Moreover MS VC documentatio recommends to use "__declspec(dllexport)" option instead of EXPORTS
section. In our case it is JNIEXPORT option.

NB. This patch should be applied after the patch for HARMONY-1608.

> [build?] Some of the Harmony jni libraries has wrong function names inside
> --------------------------------------------------------------------------
>                 Key: HARMONY-1505
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1505
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows
>            Reporter: Alexey Petrenko
>         Attachments: HARMONY-1505.diff
> Some of the Harmony jni libraries, for example hyluni.dll, has function names which are
not prefixed by underscore ( _ ).
> JNI spec says that all the JNI methods on Windows should be declared as __stdcall. [1]
And MS C documentation says that __stdcall function names should be prefixed by underscore.
> [1] http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/design.html#wp615
> [2] http://msdn2.microsoft.com/en-us/library/zxk0tw93.aspx

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message