Details
Description
- Windows doesn't want the
macro JNI_IMPORT_OR_EXPORT
to be defined in the function
definition. It fails to compile with
the following error -
"definition of dllimport function
not allowed". - However, Linux needs it. Hence,
we're going to add this macro
based on the OS.
Attachments
Issue Links
- is caused by
-
HDFS-16084 getJNIEnv() returns invalid pointer when called twice after getGlobalJNIEnv() failed
- Resolved
- links to