APAR status
Closed as program error.
Error description
Error Message: unknown type name _JNI_IMPORT_OR_EXPORT_ . Stack Trace: N/A . The problem occurs when compiling JNI native libraries, such as Java Native Access (JNA).
Local fix
Define _JNI_IMPORT_OR_EXPORT_ as follows #ifndef JNIIMPORT #define JNIIMPORT #endif #ifdef _JNI_IMPLEMENTATION_ #define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT #else #define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT #endif
Problem summary
When native JNI libraries are compiled, a definition for _JNI_IMPORT_OR_EXPORT_ may be required, but is missing from jni.h
Problem conclusion
This defect will be fixed in: 6.0.0 SR15 . A definition for _JNI_IMPORT_OR_EXPORT_ is added to jniport.h, which is a JVM implementation-specific include file, included by jni.h
Temporary fix
Comments
APAR Information
APAR number
IV49979
Reported component name
J9 COMMON CODE
Reported component ID
620700127
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-24
Closed date
2013-09-24
Last modified date
2013-09-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
J9 COMMON CODE
Fixed component ID
620700127
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
30 September 2013