Bug 1472834
Summary: | log4j cannot be built by jdk8 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukáš Zachar <lzachar> |
Component: | log4j | Assignee: | Java maintainers <java-maint> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | jorton, jvanek, mizdebsk |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-01-17 15:53:15 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
Lukáš Zachar
2017-07-19 13:39:45 UTC
You can pass --disable-doclint to javadoc to workaround this. Known issue. Exactly the same problem affects hundreds of other packages too. Theoretically this fixable, but would require a lot of work for little or no benefit. I recall you had a hook in maven (ant?) which was disabling doclint by default, haven't you? In Fedora, not in RHEL. Java packages in RHEL 7 were built with OpenJDK 7. Building them with any other JDK was not tested - some builds may fail for different reasons, some may succeed, but produce wrong results. Yes. that is right thing to do. Still the packages should be kept building by jdk7. Lukas, how did this happen? During our rebuild test on rhel-7. "yum-builddep log4j.spec" installs java-1.8.0-openjdk-devel in dependency chain. Per previous comments, building with OpenJDK >7 is not supported nor do we plan to update the packages to support this. |