mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -05:00
GP-0 Corrected Java 1.8 compilation error in LaunchProperties
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user