Ignore:
Timestamp:
Jan 28, 2011, 11:17:17 AM (15 years ago)
Author:
dmik
Message:

hotspot: Use LIBPATH to comprise java.library.path instead of PATH on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r228 r252  
    159159LONG WINAPI Handle_FLT_Exception(struct _EXCEPTION_POINTERS* exceptionInfo);
    160160#endif
     161
     162#ifdef __WIN32OS2__
     163const char *getLibPath(); // defined in os_os2.cpp
     164#endif
     165
    161166void os::init_system_properties_values() {
    162167  /* sysclasspath, java_home, dll_dir */
     
    216221    char *library_path;
    217222    char tmp[MAX_PATH];
     223
     224#ifdef __WIN32OS2__
     225    /* On OS/2, LIBPATH is used for DLL searching insetad of PATH */
     226    const char *path_str = getLibPath();
     227#else
    218228    char *path_str = ::getenv("PATH");
     229#endif
    219230
    220231    library_path = NEW_C_HEAP_ARRAY(char, MAX_PATH * 5 + sizeof(PACKAGE_DIR) +
Note: See TracChangeset for help on using the changeset viewer.