Bump max allowed bytecode version to 21
This commit is contained in:
parent
da2f3b64d6
commit
dfe9493ee7
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ public class BytecodeVersionJarValidatorJP extends BytecodeVersionJarValidator {
|
|||
for (var entry : classVersions.entrySet()) {
|
||||
Path classPath = entry.getKey();
|
||||
int version = entry.getValue().major();
|
||||
int maxAllowedVersion = 17;
|
||||
int maxAllowedVersion = 21;
|
||||
int expected;
|
||||
|
||||
if (classPath.endsWith("module-info.class") || classPath.endsWith("package-info.class")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue