mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8001185: parsing of sun.boot.library.path in os::dll_build_name somewhat broken
Dll_dir can contain multiple paths, need to parse them correctly when loading agents Reviewed-by: dholmes, dlong
This commit is contained in:
parent
40d5fa156c
commit
dd5c8eb660
9 changed files with 67 additions and 35 deletions
|
@ -479,7 +479,8 @@ class os: AllStatic {
|
|||
static const char* get_current_directory(char *buf, int buflen);
|
||||
|
||||
// Builds a platform-specific full library path given a ld path and lib name
|
||||
static void dll_build_name(char* buffer, size_t size,
|
||||
// Returns true if buffer contains full path to existing file, false otherwise
|
||||
static bool dll_build_name(char* buffer, size_t size,
|
||||
const char* pathname, const char* fname);
|
||||
|
||||
// Symbol lookup, find nearest function name; basically it implements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue