Skip to content

Commit a703c33

Browse files
committed
Reword error messages based on review feedback
1 parent 86294fe commit a703c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

substratevm/src/com.oracle.svm.driver/src/com/oracle/svm/driver/NativeImage.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1059,12 +1059,12 @@ private static String injectHostedOptionOrigin(String option, String origin) {
10591059
char boolPrefix = option.length() > oH.length() ? option.charAt(oH.length()) : 0;
10601060
if (boolPrefix == '-' || boolPrefix == '+') {
10611061
if (eqIndex != -1) {
1062-
showError("Ill-formed boolean native-image hosted-option '" + option + "' (boolean option with extraneous '=') from " + OptionOrigin.from(origin));
1062+
showError("Malformed boolean native-image hosted-option '" + option + "' (boolean option with extraneous '=') from " + OptionOrigin.from(origin));
10631063
}
10641064
return option + optionOriginSeparator + origin;
10651065
} else {
10661066
if (eqIndex == -1) {
1067-
showError("Ill-formed native-image hosted-option '" + option + "' ('=' missing after option name) from " + OptionOrigin.from(origin));
1067+
showError("Malformed native-image hosted-option '" + option + "' ('=' missing after option name) from " + OptionOrigin.from(origin));
10681068
}
10691069
String front = option.substring(0, eqIndex);
10701070
String back = option.substring(eqIndex);

0 commit comments

Comments
 (0)