Changeset 277


Ignore:
Timestamp:
Mar 24, 2011, 11:35:03 PM (14 years ago)
Author:
dmik
Message:

hotspot: Don't attempt to analyze the DLL header on load failure, this doesn't work on OS/2 (since DLLs are LX, not PE) and is actually not necessary.

File:
1 edited

Legend:

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

    r252 r277  
    14651465  getLastErrorString(ebuf, (size_t) ebuflen);
    14661466  ebuf[ebuflen-1]='\0';
     1467
     1468  // do not attempt to parse the file under Odin, it's most likely an OS/2 DLL
     1469  // that has a different format (and arch is always i386 anyway)
     1470#ifndef __WIN32OS2__
    14671471  int file_descriptor=::open(name, O_RDONLY | O_BINARY, 0);
    14681472  if (file_descriptor<0)
     
    15601564      lib_arch,running_arch_str);
    15611565  }
     1566#endif
    15621567
    15631568  return NULL;
Note: See TracChangeset for help on using the changeset viewer.