mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
This commit is contained in:
parent
607ddaa0e6
commit
7b3c2dc5f4
13 changed files with 23 additions and 23 deletions
|
@ -383,7 +383,7 @@ public enum ClassFileFormatVersion {
|
|||
public static ClassFileFormatVersion fromMajor(int major) {
|
||||
if (major < 45 // RELEASE_0.major()
|
||||
|| major > latest().major()) {
|
||||
throw new IllegalArgumentException("Out of range major class file vesion "
|
||||
throw new IllegalArgumentException("Out of range major class file version "
|
||||
+ major);
|
||||
}
|
||||
// RELEASE_0 and RELEASE_1 both have a major version of 45;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue