-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support arbitrary Java versions with JRE
conditions
#3930
Comments
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Aug 20, 2024
This commit serves as a proof of concept for supporting arbitrary Java feature numbers in @EnabledOnJre, @EnabledForJreRange, and the JRE enum. See junit-team#3930
6 tasks
sbrannen
changed the title
Support arbitrary Java feature numbers with
Support arbitrary Java feature versions with Aug 20, 2024
JRE
conditionsJRE
conditions
6 tasks
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Jan 31, 2025
This commit introduces support for arbitrary Java feature numbers in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. See junit-team#3930
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 1, 2025
This commit introduces support for arbitrary Java feature numbers in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. See junit-team#3930
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 1, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930
sbrannen
changed the title
Support arbitrary Java feature versions with
Support arbitrary Java versions with Feb 1, 2025
JRE
conditionsJRE
conditions
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 1, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 1, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 2, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 2, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930 Closes: junit-team#3931
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 2, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930 Closes: junit-team#3931
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 3, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930 Closes: junit-team#3931
sbrannen
added a commit
to sbrannen/junit5
that referenced
this issue
Feb 3, 2025
This commit introduces support for arbitrary Java versions in the JRE enum, @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange, and @DisabledForJreRange. Closes: junit-team#3930 Closes: junit-team#3931
sbrannen
added a commit
that referenced
this issue
Feb 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
Inspired by #3918 and related discussions, we should consider introducing a mechanism for users to supply arbitrary Java feature versions that are not yet covered by the
JRE
enum constants.Note that a "feature" version refers to the leading number in a Java version -- for example, the
21
in21.0.4
. In Java 9, this was referred to as the major number (JEP 223), but the terminology changed to feature in Java 10 (JEP 322).Deliverables
JRE
(viaJRE.java.jte
) to support feature versions.versions
attribute in@EnabledOnJre
and reviseEnabledOnJreCondition
accordingly.versions
attribute in@DisabledOnJre
and reviseDisabledOnJreCondition
accordingly.minVersion
andmaxVersion
attributes in@EnabledForJreRange
and reviseEnabledForJreRangeCondition
accordingly.minVersion
andmaxVersion
attributes in@DisabledForJreRange
and reviseDisbledForJreRangeCondition
accordingly.EnabledOnJreIntegrationTests
,DisabledOnJreIntegrationTests
,EnabledOnJreConditionTests
,DisabledOnJreConditionTests
, etc.@API
annotations.The text was updated successfully, but these errors were encountered: