Ghidra is a software reverse engineering (SRE) framework
GP-0: Changing default behavior of OptionChooser.getArgs() to return an empty list rather than throw an exception
Ryan Kurtz8baadaba27d2
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/OptionChooser.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/OptionChooser.javaindex e2de867069..5a5e8164f4 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/OptionChooser.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/OptionChooser.java@@ -47,11 +47,10 @@ public interface OptionChooser {* Gets the {@link Loader} arguments associated with this {@link OptionChooser}** @return The {@link Loader} arguments associated with this {@link OptionChooser}- * @throws UnsupportedOperationException if a subclass has not implemented this method* @deprecated Use {@link ProgramLoader.Builder#loaderArgs(List)} instead*/@Deprecated(since = "12.0", forRemoval = true)public default List<Pair<String, String>> getArgs() {- throw new UnsupportedOperationException();+ return List.of();}}