Changeset 252 for trunk/openjdk/hotspot/src/os/windows
- Timestamp:
- Jan 28, 2011, 11:17:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp
r228 r252 159 159 LONG WINAPI Handle_FLT_Exception(struct _EXCEPTION_POINTERS* exceptionInfo); 160 160 #endif 161 162 #ifdef __WIN32OS2__ 163 const char *getLibPath(); // defined in os_os2.cpp 164 #endif 165 161 166 void os::init_system_properties_values() { 162 167 /* sysclasspath, java_home, dll_dir */ … … 216 221 char *library_path; 217 222 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 218 228 char *path_str = ::getenv("PATH"); 229 #endif 219 230 220 231 library_path = NEW_C_HEAP_ARRAY(char, MAX_PATH * 5 + sizeof(PACKAGE_DIR) +
Note:
See TracChangeset
for help on using the changeset viewer.