mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
This commit is contained in:
parent
c4978df7aa
commit
bd3ea105b9
5 changed files with 82 additions and 9 deletions
|
@ -5979,6 +5979,9 @@ int os::get_core_path(char* buffer, size_t bufferSize) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
jio_snprintf(buffer, bufferSize, "%s/core or core.%d",
|
||||
p, current_process_id());
|
||||
|
||||
return strlen(buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue