Skip to content

Commit e0a9b77

Browse files
author
Trong Nhan Mai
committed
fix: add jdk version 22 and 23 into the list of supported jdk major version
1 parent 67fe40a commit e0a9b77

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/macaron/build_spec_generator/jdk_version_normalizer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"19",
2222
"20",
2323
"21",
24+
"22",
25+
"23",
26+
"24",
2427
]
2528

2629

tests/build_spec_generator/test_jdk_version_normalizer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
"19",
4747
id="major_follows_with_text",
4848
),
49+
# https://github.com/jboss-logging/jboss-logging/blob/25ad85c9cecf5a2f79db9a4d077221ed087e4ef5/.github/workflows/ci.yml#L46
50+
pytest.param(
51+
"22-ea",
52+
"22",
53+
id="pkg_maven_org.jboss.logging_jboss-logging_3.6.1.Final",
54+
),
4955
],
5056
)
5157
def test_jdk_version_normalizer(version_string: str, expected: str) -> None:

0 commit comments

Comments
 (0)