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