Ignore:
Timestamp:
Feb 28, 2012, 6:49:15 PM (9 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/os/windows/vm/os_windows.cpp

    r336 r339  
    18381838
    18391839void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
    1840 #ifndef _WIN64
     1840#if !defined(_WIN64) && !defined(__WIN32OS2__)
    18411841  st->print("_");
    18421842#endif
     
    18451845
    18461846void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
    1847 #ifndef _WIN64
     1847#if !defined(_WIN64) && !defined(__WIN32OS2__)
    18481848  st->print("@%d", args_size  * sizeof(int));
    18491849#endif
Note: See TracChangeset for help on using the changeset viewer.