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

Robbin Ehn rehn at openjdk.org
Fri Mar 22 13:41:22 UTC 2024


On Fri, 22 Mar 2024 11:43:34 GMT, Magnus Ihse Bursie <ihse 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.

It's stand alone library, should we really make it dependent on the JDK?

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

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


More information about the build-dev mailing list