From 59cc0bc01c2862b2bea10ec24f16cf6a037ad1ca Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Mon, 26 Oct 2020 07:50:52 -0400 Subject: [PATCH] Hide "Archived non-system classes are disabled" warning that appears when launching Ghidra --- Ghidra/Features/Base/.launch/Ghidra.launch | 3 ++- Ghidra/RuntimeScripts/Common/support/launch.properties | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Ghidra/Features/Base/.launch/Ghidra.launch b/Ghidra/Features/Base/.launch/Ghidra.launch index 643b32cce5..400ccc7f4d 100644 --- a/Ghidra/Features/Base/.launch/Ghidra.launch +++ b/Ghidra/Features/Base/.launch/Ghidra.launch @@ -26,7 +26,8 @@ + - + diff --git a/Ghidra/RuntimeScripts/Common/support/launch.properties b/Ghidra/RuntimeScripts/Common/support/launch.properties index 5212b28141..972fc62eb4 100644 --- a/Ghidra/RuntimeScripts/Common/support/launch.properties +++ b/Ghidra/RuntimeScripts/Common/support/launch.properties @@ -4,8 +4,9 @@ # NOTE: Ghidra requires a JDK to launch. JAVA_HOME_OVERRIDE= -# Required Ghidra class loader +# Required Ghidra class loader (forces class data sharing to be disabled...hide warning) VMARGS=-Djava.system.class.loader=ghidra.GhidraClassLoader +VMARGS=-Xshare:off # Set default encoding to UTF8 VMARGS=-Dfile.encoding=UTF8