Page MenuHomeSolus

Make openjdk-8 compatible with multiple Java installations
ClosedPublic

Authored by livingsilver94 on Nov 22 2019, 2:47 PM.

Details

Summary

Package changes:

  • Removed symlinks to binaries in /usr/bin
  • Added a -8 suffix to man pages
  • Also moved the Japanese manual to the correct directory
  • Removed duplicated header files

Relates to T6658.

Test Plan

Successfully built:

  • apache-maven
  • apache-ant

Successfully ran:

  • dbeaver
  • josm

Diff Detail

Repository
R2242 openjdk-8
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

livingsilver94 created this revision.Nov 22 2019, 2:47 PM
livingsilver94 requested review of this revision.Nov 22 2019, 2:47 PM
livingsilver94 edited the summary of this revision. (Show Details)Nov 22 2019, 2:54 PM

Remove binary symlinks

livingsilver94 edited the summary of this revision. (Show Details)Nov 22 2019, 3:02 PM
livingsilver94 edited the summary of this revision. (Show Details)Nov 22 2019, 3:37 PM

Move all man pages

livingsilver94 edited the summary of this revision. (Show Details)Nov 22 2019, 8:11 PM
livingsilver94 edited the summary of this revision. (Show Details)Nov 22 2019, 11:27 PM

Remove empty directory

Package files cleanup and fix for usr/share/man/ja hard link

Please tell me if usr/lib64/openjdk-8 is good or you want /usr/share/openjdk-8 .

No, the /usr/share/man/ja link doesn't work. Period. Don't use it

livingsilver94 edited the test plan for this revision. (Show Details)Nov 24 2019, 1:27 AM
livingsilver94 edited the summary of this revision. (Show Details)Nov 24 2019, 12:29 PM
livingsilver94 edited the test plan for this revision. (Show Details)Nov 25 2019, 12:31 AM
DataDrake requested changes to this revision.Apr 13 2020, 2:23 AM
DataDrake added a subscriber: DataDrake.

Given that this will break existing packages relying on /usr/bin/java I think the stack should be inverted, with this waiting on all of reverse dependencies to be landed first.

This revision now requires changes to proceed.Apr 13 2020, 2:23 AM

Makes sense. Let's see if I can adapt all the packages in the following days.

REMINDER FOR ME: symlink header files from /usr/include/openjdk-8 into /usr/lib64/openjdk-8/include.

livingsilver94 planned changes to this revision.May 13 2020, 8:36 AM

Per my previous message.

Symlink header files in JAVA_HOME

DataDrake accepted this revision.May 14 2020, 2:44 AM

LGTM. Thanks!

This revision is now accepted and ready to land.May 14 2020, 2:44 AM