8242000: clean up list of environment variables printed in hs_err file

Reviewed-by: redestad, stuefe
This commit is contained in:
Matthias Baesken 2020-04-02 12:44:05 +02:00
parent cd76575df1
commit 218d0f71cf

View File

@ -80,8 +80,8 @@ void* VMError::get_segfault_address() {
// List of environment variables that should be reported in error log file.
const char *env_list[] = {
// All platforms
"JAVA_HOME", "JRE_HOME", "JAVA_TOOL_OPTIONS", "_JAVA_OPTIONS", "CLASSPATH",
"JAVA_COMPILER", "PATH", "USERNAME",
"JAVA_HOME", "JAVA_TOOL_OPTIONS", "_JAVA_OPTIONS", "CLASSPATH",
"PATH", "USERNAME",
// Env variables that are defined on Solaris/Linux/BSD
"LD_LIBRARY_PATH", "LD_PRELOAD", "SHELL", "DISPLAY",
@ -91,8 +91,8 @@ const char *env_list[] = {
// defined on AIX
"LIBPATH", "LDR_PRELOAD", "LDR_PRELOAD64",
// defined on Linux
"LD_ASSUME_KERNEL", "_JAVA_SR_SIGNUM",
// defined on Linux/AIX/BSD
"_JAVA_SR_SIGNUM",
// defined on Darwin
"DYLD_LIBRARY_PATH", "DYLD_FALLBACK_LIBRARY_PATH",