Red Hat Bugzilla – Bug 506337
Ant redundant dependency on OpenJDK
Last modified: 2013-11-26 12:42:42 EST
Description of problem:
Ant has as a dependency of OpenJDK even if you have Javas JDK installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download and install JDK from Java
2. Run a 'yum install ant'
3. OpenJDK will be added as a dependency
Ant should be able to use any version of JDK and not have OpenJDK as a dependency when a compatible version of Java is present on the machine.
Installing multiple versions of JDK is redundant and can lead to security vulnerabilities in a highly controlled environment.
That is a proper RPM Requiries: for the package, having OpenJDK installed from RHEL will keep it updated with security fixes.