NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.6k stars 13.76k forks source link

Remove EOL OpenJDK versions #313210

Open jlesquembre opened 4 months ago

jlesquembre commented 4 months ago

Part of https://github.com/NixOS/nixpkgs/issues/313216

Issue description

Should we remove End-of-Life (EOL) OpenJDK versions?

This proposal suggests removing OpenJDK versions that have reached their end-of-life status after a specific timeframe. For example, we could remove versions that have been EOL for more than six months.

This approach would simplify JDK maintenance within nixpkgs. Users who require an EOL version, such as Java 16, could still access it through the Temurin JDK.

For an overview of JDK release dates see:

raboof commented 4 months ago

Should we remove End-of-Life (EOL) OpenJDK versions?

I'm in favor (as a first step we should probably mark them 'insecure' to give people still relying on them a heads-up?)

This approach would simplify JDK maintenance within nixpkgs. Users who require an EOL version, such as Java 16, could still access it through the Temurin JDK

Temurin Java 16 seems also unsupported, though (https://adoptium.net/support/), so we should probably eventually drop those as well? Ideally we should have no software in nixpkgs that relies on unsupported versions, and out-of-tree projects that still use such software could use something like https://codeberg.org/raboof/nix-jabba

willcohen commented 2 months ago

Also in favor!