Bug 1364518
Summary: | libguestfs-java: mismatch class version vs java dependency | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pino Toscano <ptoscano> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | lzachar, ptoscano, rjones, virt-bugs, xchen, yoguo |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.36.1-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1319086 | Environment: | |
Last Closed: | 2017-08-01 22:08:55 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: | |
Embargoed: |
Description
Pino Toscano
2016-08-05 14:51:46 UTC
Pino is this fixed by c39d5e89c3b3884309cfaea16721b9ec25c98868? (In reply to Richard W.M. Jones from comment #1) > Pino is this fixed by c39d5e89c3b3884309cfaea16721b9ec25c98868? Don't think so, as the code removed did not do much. Indeed, the bytecode version was already for java 7. OK, got it, the fix is: %package java Summary: Java bindings for %{name} Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: java-headless >= 1.5.0 +Requires: java-headless >= 1.7.0 Requires: jpackage-utils This was already done in the RHEL 6 branch. Verified with package: libguestfs-1.36.3-1.el7.x86_64 libguestfs-java-1.36.3-1.el7.x86_64 Steps: 1. jar xf /usr/share/java/libguestfs.jar 2. find . -name '*class' -exec file {} \; ./com/redhat/et/libguestfs/Application.class: compiled Java class data, version 51.0 (Java 1.7) ./com/redhat/et/libguestfs/Application2.class: compiled Java class data, version 51.0 (Java 1.7) ... 3. rpm -qR libguestfs-java /sbin/ldconfig /sbin/ldconfig java-headless >= 1.7.0 ... Actual results: compiled Java class data, version 51.0 (Java 1.7) java-headless >= 1.7.0 Java requirement can be able to satisfy compiled java class version. So verified. 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. https://access.redhat.com/errata/RHBA-2017:2023 |