diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-10-03 17:17:50 +0200 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-10-03 17:17:50 +0200 |
commit | ec67725ea41ae69453d4ee2624b311746aab3c26 (patch) | |
tree | 88325bd82702b7f5521878d5075b5040f1904d9b /bcel-builder/src | |
parent | 2548a8ab0b3649ed3fc8eac331ebeb1f28f02c3d (diff) | |
download | aspectj-ec67725ea41ae69453d4ee2624b311746aab3c26.tar.gz aspectj-ec67725ea41ae69453d4ee2624b311746aab3c26.zip |
Add the first few Java 19 tests
For now, only the "pattern matching for switch" tests from previews 1
and 2 were adjusted to work in preview 3, because guarded patterns were
replaced by 'when' clauses in 'switch' blocks. Therefore, existing test
classes did not compile anymore and had to be replaced by syntactically
upgraded versions with content merged from preview 1 and 2 classes.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'bcel-builder/src')
-rw-r--r-- | bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java b/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java index 6c2240b9d..87c36f2ff 100644 --- a/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java +++ b/bcel-builder/src/main/java/org/aspectj/apache/bcel/Constants.java @@ -100,8 +100,10 @@ public interface Constants { short MINOR_17 = 0; short MAJOR_18 = 62; short MINOR_18 = 0; -// short MAJOR_19 = 63; -// short MINOR_19 = 0; + short MAJOR_19 = 63; + short MINOR_19 = 0; +// short MAJOR_20 = 64; +// short MINOR_20 = 0; int PREVIEW_MINOR_VERSION = 65535; |