Skip to content
Permalink
Browse files

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

Reviewed-by: redestad, stuefe
  • Loading branch information
Matthias Baesken committed Apr 2, 2020
1 parent cd76575 commit 218d0f71cffd9d4a501ba8e178ceec65f1dd7e6e
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/hotspot/share/utilities/vmError.cpp
@@ -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",

0 comments on commit 218d0f7

Please sign in to comment.