-
Bug
-
Resolution: Unresolved
-
Critical
-
rhel-9.4
-
None
-
ant-1.10.9-15.el9
-
No
-
Moderate
-
ZStream
-
rhel-sst-cs-base-utils
-
ssg_core_services
-
22
-
24
-
8
-
Dev ack
-
False
-
-
None
-
None
-
Approved Blocker
-
None
Currently Ant can only be ran with default system OpenJDK version.
It was decided that the default should be switched to OpenJDK 17.
More details are at RHELBU-2879.
We want to give users the ability to choose which OpenJDK version to use for running Ant.
Follow what maven does:
- Introduce binding subpackages ant-openjdk8, ant-openjdk11, ant-openjdk17 and ant-openjdk21.
- Each each of binding packages Provides ant-jdk-binding and installs appropriate config file at %{_javaconfdir}/ant.conf
- The main ant package should Require ant-jdk-binding and Suggest ant-openjdk17.
Testing: Ant should be tested with all OpenJDK versions available: 8, 11, 17, 21.
Documentation: It should be documented in 9.5 release notes and in errata text that now there is a possibility to pick which OpenJDK version to use for running Ant and that OpenJDK 17 is the default.
Acceptance criteria:
- ant-openjdk8, ant-openjdk11, ant-openjdk17 and ant-openjdk21 subpackages are added
- by default ant-openjdk17 is installed – dnf install ant
- all existing tests pass with OpenJDK 8, 11, 17, 21
This change is intended to be delivered in RHEL 9.6 Y, 9.5 0day and 9.4 Z.
The original Jira issue is for Y-stream RHEL 9.6, please clone it and adjust for Z-stream as appropriate.
- links to
-
RHBA-2025:144716 ant update
- mentioned on