8247115: Fix typos in java.lang.invoke and java.lang

Reviewed-by: lancea
This commit is contained in:
Pavel Rappo 2020-06-09 16:28:10 +01:00
parent 3df95aa377
commit 6e43cddad7
11 changed files with 18 additions and 18 deletions

View file

@ -1046,7 +1046,7 @@ public class Runtime {
} else {
if (optional.isPresent() && !pre.isPresent()) {
throw new IllegalArgumentException("optional component"
+ " must be preceeded by a pre-release component"
+ " must be preceded by a pre-release component"
+ " or '+': '" + s + "'");
}
}