GP-0 Corrected Java 1.8 compilation error in LaunchProperties

This commit is contained in:
ghidra1
2025-11-04 16:18:43 -05:00
parent c0cc2ef540
commit a125b8784d

View File

@@ -193,10 +193,10 @@ public class LaunchProperties {
text = text.replaceAll("\\$\\{" + key + "\\}", value.replace("\\", "\\\\"));
}
catch (IllegalArgumentException e) {
throw new ParseException(
"Error expanding environment variable in %s (env %s=%s) -- %s".formatted(text,
key, value, e.getMessage()),
0);
String msg =
String.format("Error expanding environment variable in %s (env %s=%s) -- %s",
text, key, value, e.getMessage());
throw new ParseException(msg, 0);
}
}
return text;