Skip to content

Commit

Permalink
use_Opcodes.V17_instead_Opcodes.V16+1
Browse files Browse the repository at this point in the history
  • Loading branch information
XenoAmess committed Feb 21, 2021
1 parent f6a47d2 commit eae96c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class ClassFileVersion implements Comparable<ClassFileVersion> {
/**
* The class file version of Java 17.
*/
public static final ClassFileVersion JAVA_V17 = new ClassFileVersion(Opcodes.V16 + 1);
public static final ClassFileVersion JAVA_V17 = new ClassFileVersion(Opcodes.V17);

/**
* A version locator for the executing JVM.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static Collection<Object[]> data() {
{14, 14, Arrays.asList("1.14", "14"), Opcodes.V14, (short) 58, (short) 0, true, true, true},
{15, 15, Arrays.asList("1.15", "15"), Opcodes.V15, (short) 59, (short) 0, true, true, true},
{16, 16, Arrays.asList("1.16", "16"), Opcodes.V16, (short) 60, (short) 0, true, true, true},
{17, 17, Arrays.asList("1.17", "17"), Opcodes.V16 + 1, (short) 61, (short) 0, true, true, true}
{17, 17, Arrays.asList("1.17", "17"), Opcodes.V17, (short) 61, (short) 0, true, true, true}
});
}

Expand Down

0 comments on commit eae96c1

Please # to comment.