Page MenuHomeSolus

How hard could it be? Move everything off of JDK8
Open, Needs TriagePublic

Description

The vast majority of JDK-using packages have been upgraded to JDK 11, with only a couple remaining. Once these packages are upgraded to JDK 11, or deprecated if an upgrade is impossible, JDK 8 will have no obstacles to eventual deprecation once it becomes EOL.

To be absolutely clear, Solus is not deprecating JDK 8 until it either becomes EOL (2023 at the earliest) or becomes an obstacle to other updates. This task serves as a goal for getting our entire Java-using software stack onto JDK 11 for consistency, not as a guideline for acceleration of JDK 8 deprecation.

Remaining JDK 11-Incompatible Packages
  • icedtea-web
  • jitsi
    • Doesn't build against JDK 11 as of version 5633
    • Candidate for deprecation—webRTC implementation exists and is more actively developed
  • jabref

Related Objects

Event Timeline

serebit renamed this task from How hard could it be? Deprecation of JDK8 to How hard could it be? Move everything off of JDK8.Jun 23 2020, 12:12 AM
serebit updated the task description. (Show Details)
serebit updated the task description. (Show Details)

Just to be perfectly clear, we have no intention of deprecating JDK 8 and JFX 8 until either it is EOL or becomes an obstacle to updating other things. No sense in leaving folks high and dry when it's still supported upstream.

icedtea-web needs to stick around for jwa's. They're still widely used for businesses, stock trading, etc. Jitsi can be deprecated given people have moved or should have already moved to the software that is actually developed, which is the Jitsi WebRTC implementation.

JoshStrobl moved this task from Backlog to Improvement on the Software board.
JoshStrobl removed a project: Planned Deprecation.

I'm perfectly fine with icedtea-web staying around, as the project has significant traction and is being actively and publicly developed. If jitsi should be deprecated in favor of the WebRTC version, then I'm cool with that. Jury's out on jabref, though—I'm not sure if we'll ever be able to adequately support building it now that they seem to want to stay on whatever the current JDK is.

Just tested with current git master for icedtea-web, which has a version number of 2.0.0-SNAPSHOT. It takes a bit of patching, but it works with JDK11.

right now openjdk-8 reverse dependecies are jitsi and icedtea-web, the rest builds with openjdk-11. There are reports jitsi 2.11 runs on openjdk-11 and icedtea-web has no reverse dependencies in solus repo at all.

  • Would javac --source=8 patch to project files help building above packages with openjdk-11?
  • Can icedtea-web package be obsoleted to unblock progress with this ticket?

Also alternative viewpoint: next LTS is 17 and it is backward compatible, as everything java, so future LTS migration should be easier, than 8 to 11.

ermo raised the priority of this task from Normal to Needs Triage.
ermo removed subscribers: DataDrake, serebit.

Looks like the icedtea-web in the repository is now up to jdk17 and if we update to the newest version of jitsi (https://github.com/jitsi/jitsi/blob/master/docs/building.md) it is now using jdk11. We can probably update that and close this task I would think.

Hmm, there's some weird versioning in the tags on jitsi. The building document didn't even exist at 5633, and the only two versions tagged past that are in a different format r2.14.695 and r2.14.721, these two versions do have the build doc claiming it can use jdk11. Definitely looks like a project on the tail end of it's lifecycle though as stated previously, in the ReadMe it states:

Jitsi Desktop is the heritage of Jitsi Meet. While some components are still used in e.g. Jigasi, the project is not actively developed anymore. Improvements, bugfixes and builds are entirely based on community contributions.