Ignore:
Timestamp:
Feb 28, 2012, 7:49:15 PM (13 years ago)
Author:
dmik
Message:

Switch JNI calling convention from stdcall to _System on OS/2.

This makes JNI DLLs to be compatible with IBM Java (which uses
the _System cconv) and fixes applications using such DLLs (like
the standard LVMGUI and TCP/IP configuration OS/2 tools
written in Java).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/cpu/x86/vm/jni_x86.h

    r338 r339  
    4545  #define JNIEXPORT __declspec(dllexport)
    4646  #define JNIIMPORT __declspec(dllimport)
     47
     48#ifdef __OS2__
     49  #define JNICALL _System
     50#else
    4751  #define JNICALL __stdcall
     52#endif
    4853
    4954#ifdef TARGET_COMPILER_gcc
Note: See TracChangeset for help on using the changeset viewer.