RFR: 8328614: hsdis: dlsym can't find decode symbol [v2]

Magnus Ihse Bursie ihse at openjdk.org
Fri Mar 22 11:48:23 UTC 2024


On Fri, 22 Mar 2024 10:25:33 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> is this how you want us to export these symbols?

Close but no cigar. :-)

Use `JNIEXPORT` instead, that is properly defined for this purpose and works on all compilers. You will need to also add:


#include "jni.h"


If this is not picked up correctly, let me know and I'll help you get the include paths correctly in the build.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18400#issuecomment-2014907958


More information about the build-dev mailing list