src/hotspot/share/runtime/globals.hpp
changeset 58664 e3618c902d17
parent 58575 6941d77417f4
child 58679 9c3209ff7550
child 58804 0942a1f47d26
--- a/src/hotspot/share/runtime/globals.hpp	Thu Oct 17 10:35:18 2019 +0200
+++ b/src/hotspot/share/runtime/globals.hpp	Mon Oct 14 11:36:17 2019 +0200
@@ -643,6 +643,10 @@
   product(bool, OmitStackTraceInFastThrow, true,                            \
           "Omit backtraces for some 'hot' exceptions in optimized code")    \
                                                                             \
+  manageable(bool, ShowCodeDetailsInExceptionMessages, false,               \
+          "Show exception messages from RuntimeExceptions that contain "    \
+          "snippets of the failing code. Disable this to improve privacy.") \
+                                                                            \
   product(bool, PrintWarnings, true,                                        \
           "Print JVM warnings to output stream")                            \
                                                                             \