Bug 1189853

Summary: java-1.8.0-openjdk provides is missing java for RHEL6
Product: Red Hat Enterprise Linux 6 Reporter: Katerina Odabasi <kanovotn>
Component: java-1.8.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.6CC: dbhole, dkutalek, jdoyle, salmy, sbaiduzh, snagar, timothy.savannah
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The java-1.8.0-openjdk package for Red Hat Enterprise Linux 6 did not provide the "java" virtual package. Consequently, when a package needed to use OpenJDK 8, it was necessary to require "java-1.8.0-openjdk" instead of commonly used "java". Now, it is sufficient to require "java" as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 07:44:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 900676, 1200567    

Description Katerina Odabasi 2015-02-05 16:03:57 UTC
Description of problem:
With RHEL6 java-1.8.0-openjdk package doesn't contain in provides "java" (it contains only "java-1.8.0-openjdk".
This breaks compatibility with packages from EAP channel which requires "java".

Version-Release number of selected component (if applicable):

How reproducible:

Actual results:
# repoquery --provides --plugins java-1.8.0-openjdk
java-1.8.0-openjdk = 1:
java-1.8.0-openjdk(x86-64) = 1:

Expected results:
The package also provides "java"

Comment 3 Tim Savannah 2015-03-11 15:14:49 UTC
Indeed, 1.7.0 and prior base openjdk contained everything needed to run java, and -devel contained the devel stuff... as expected.

1.8.0 base package contains awt and an icon. This is bad.


Comment 4 jiri vanek 2015-03-11 15:49:33 UTC
by base, you mean headless?
If headless contains awt then this is wrong.

Otherwise headless+jre still provides all what you need to run jva application (and devel to develop)

Not sure how your comment is related to misisng virtual provides.

Comment 6 jiri vanek 2015-04-09 12:16:50 UTC
Latest build contains virtual jre provides

Comment 8 Tim Savannah 2015-04-09 15:43:11 UTC
My mistake, I posted on wrong ticket. This issue bit us as well, glad to see it's moving forward!

Comment 11 errata-xmlrpc 2015-07-22 07:44:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.